1
0
mirror of synced 2025-12-26 04:27:56 +08:00

🎨 优化重构OA审批模板相关接口及类定义

This commit is contained in:
Binary Wang
2022-12-17 15:17:38 +08:00
parent baa8a6da37
commit b7ceeed557
9 changed files with 23 additions and 56 deletions

View File

@@ -14,7 +14,6 @@ import org.testng.annotations.Test;
import org.testng.collections.Lists;
import java.text.ParseException;
import java.util.Arrays;
import java.util.Collections;
import java.util.Date;
import java.util.List;
@@ -213,7 +212,7 @@ public class WxCpOaServiceImplTest {
@Test
public void testGetTemplateDetail() throws WxErrorException {
String templateId = "3TkZjxugodbqpEMk9j7X6h6zKqYkc7MxQrrFmT7H";
WxCpTemplateResult result = wxService.getOaService().getTemplateDetail(templateId);
WxCpOaApprovalTemplateResult result = wxService.getOaService().getTemplateDetail(templateId);
assertThat(result).isNotNull();
System.out.println("result ");
System.out.println(gson.toJson(result));