zouhantao před 2 dny
rodič
revize
f4a5b14888

+ 0
- 19
zhywpt-service-ats/src/main/java/cn/com/taiji/ats/manager/weixin/ESignature/CreateFlowApi.java Zobrazit soubor

@@ -95,25 +95,6 @@ public class CreateFlowApi {
System.out.println(new Gson().toJson(response));
}

/**
* 测试
*/
public static void main(String[] args) {
try {
String flowName = "****************";

FlowCreateApprover personInfo = new FlowCreateApprover();
personInfo.setApproverType(1L);//1:个人
personInfo.setApproverName("测试");
personInfo.setApproverMobile("13662468905");

FlowCreateApprover[] approvers = new FlowCreateApprover[]{personInfo};

String flowId = CreateFlowApi.CreateFlow(OperatorUserId, flowName, approvers, false);
System.out.println("flowId: " + flowId);
} catch (Exception e) {
e.printStackTrace();
}
}
}


+ 0
- 14
zhywpt-service-ats/src/main/java/cn/com/taiji/ats/manager/weixin/ESignature/CreateSchemeUrlApi.java Zobrazit soubor

@@ -32,18 +32,4 @@ public class CreateSchemeUrlApi {
return client.CreateSchemeUrl(request);
}

/**
* 测试
*/
public static void main(String[] args) {
try {
String flowId = "****************";

CreateSchemeUrlResponse response = CreateSchemeUrlApi.CreateSchemeUrl(OperatorUserId, flowId);

System.out.println(new Gson().toJson(response));
} catch (Exception e) {
e.printStackTrace();
}
}
}

+ 0
- 14
zhywpt-service-ats/src/main/java/cn/com/taiji/ats/manager/weixin/ESignature/DescribeFileUrlsApi.java Zobrazit soubor

@@ -33,18 +33,4 @@ public class DescribeFileUrlsApi {
return urls[0].getUrl();
}

/**
* 测试
*/
public static void main(String[] args) {
try {
String flowId = "****************";

String url = DescribeFileUrlsApi.DescribeFileUrls(WechatESignatureConfig.OperatorUserId, flowId);

System.out.println("urls: " + url);
} catch (Exception e) {
e.printStackTrace();
}
}
}

+ 0
- 14
zhywpt-service-ats/src/main/java/cn/com/taiji/ats/manager/weixin/ESignature/DescribeFlowInfoApi.java Zobrazit soubor

@@ -30,19 +30,5 @@ public class DescribeFlowInfoApi {
return client.DescribeFlowInfo(request);
}

/**
* 测试
*/
public static void main(String[] args) {
try {
String flowId = "****************";

DescribeFlowInfoResponse response = DescribeFlowInfoApi.DescribeFlowInfo(OperatorUserId, flowId);

System.out.println(new Gson().toJson(response));
} catch (Exception e) {
e.printStackTrace();
}
}
}


Načítá se…
Zrušit
Uložit