🆕 #2213【企业微信】 增加获取企业所有打卡规则的接口
This commit is contained in:
@@ -53,7 +53,7 @@ public class WxCpOaServiceImplTest {
|
||||
|
||||
@Test
|
||||
public void testGetCheckinDayData() throws ParseException, WxErrorException {
|
||||
Date startTime = DateFormatUtils.ISO_8601_EXTENDED_DATE_FORMAT.parse("2021-07-01");
|
||||
Date startTime = DateFormatUtils.ISO_8601_EXTENDED_DATE_FORMAT.parse("2021-06-30");
|
||||
Date endTime = DateFormatUtils.ISO_8601_EXTENDED_DATE_FORMAT.parse("2021-07-31");
|
||||
|
||||
List<WxCpCheckinDayData> results = wxService.getOaService()
|
||||
@@ -103,6 +103,16 @@ public class WxCpOaServiceImplTest {
|
||||
System.out.println(gson.toJson(results));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testGetCropCheckinOption() throws WxErrorException {
|
||||
|
||||
Date now = new Date();
|
||||
List<WxCpCropCheckinOption> results = wxService.getOaService().getCropCheckinOption();
|
||||
assertThat(results).isNotNull();
|
||||
System.out.println("results ");
|
||||
System.out.println(gson.toJson(results));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testGetApprovalInfo() throws WxErrorException, ParseException {
|
||||
Date startTime = DateFormatUtils.ISO_8601_EXTENDED_DATE_FORMAT.parse("2019-12-01");
|
||||
|
||||
Reference in New Issue
Block a user