@@ -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(); | |||
} | |||
} | |||
} | |||
@@ -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(); | |||
} | |||
} | |||
} |
@@ -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(); | |||
} | |||
} | |||
} |
@@ -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(); | |||
} | |||
} | |||
} | |||