zouhantao 2 dni temu
rodzic
commit
f4a5b14888

+ 0
- 19
zhywpt-service-ats/src/main/java/cn/com/taiji/ats/manager/weixin/ESignature/CreateFlowApi.java Wyświetl plik

System.out.println(new Gson().toJson(response)); 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 Wyświetl plik

return client.CreateSchemeUrl(request); 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 Wyświetl plik

return urls[0].getUrl(); 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 Wyświetl plik

return client.DescribeFlowInfo(request); 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();
}
}
} }



Ładowanie…
Anuluj
Zapisz