:new:【企业微信】增加获取企业假期管理配置的接口
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
package me.chanjar.weixin.cp.api.impl;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonObject;
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
import com.google.inject.Inject;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import me.chanjar.weixin.common.error.WxErrorException;
|
||||
import me.chanjar.weixin.common.util.json.GsonParser;
|
||||
import me.chanjar.weixin.cp.api.ApiTestModule;
|
||||
import me.chanjar.weixin.cp.api.WxCpService;
|
||||
import me.chanjar.weixin.cp.bean.oa.*;
|
||||
import me.chanjar.weixin.cp.util.json.WxCpGsonBuilder;
|
||||
import org.apache.commons.lang3.time.DateFormatUtils;
|
||||
import org.testng.annotations.Guice;
|
||||
import org.testng.annotations.Test;
|
||||
@@ -25,9 +22,9 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
/**
|
||||
* 企业微信 OA数据接口 测试用例
|
||||
*
|
||||
* @author Element
|
||||
* @author Element & Wang_Wong
|
||||
*/
|
||||
|
||||
@Slf4j
|
||||
@Guice(modules = ApiTestModule.class)
|
||||
public class WxCpOaServiceImplTest {
|
||||
|
||||
@@ -171,4 +168,15 @@ public class WxCpOaServiceImplTest {
|
||||
@Test
|
||||
public void testGetDialRecord() {
|
||||
}
|
||||
|
||||
/**
|
||||
* https://developer.work.weixin.qq.com/document/path/93375
|
||||
* @throws WxErrorException
|
||||
*/
|
||||
@Test
|
||||
public void testGetCorpConf() throws WxErrorException{
|
||||
WxCpCorpConfInfo corpConf = this.wxService.getOaService().getCorpConf();
|
||||
log.info(corpConf.toJson());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user