Commit 2958e1ef authored by 周亚武's avatar 周亚武

钉钉相关接口

parent 93f29c07
...@@ -116,10 +116,11 @@ public class DingPersonServiceImpl extends AbstractDingTalkService implements ID ...@@ -116,10 +116,11 @@ public class DingPersonServiceImpl extends AbstractDingTalkService implements ID
* @return Client * @return Client
* @throws Exception * @throws Exception
*/ */
public static com.aliyun.dingtalkworkflow_1_0.Client createClient() throws Exception { public com.aliyun.dingtalkworkflow_1_0.Client createClient() throws Exception {
com.aliyun.teaopenapi.models.Config config = new com.aliyun.teaopenapi.models.Config(); com.aliyun.teaopenapi.models.Config config = new com.aliyun.teaopenapi.models.Config();
config.protocol = "https"; config.protocol = "https";
config.regionId = "central"; config.regionId = "central";
config.endpoint = domain;
return new com.aliyun.dingtalkworkflow_1_0.Client(config); return new com.aliyun.dingtalkworkflow_1_0.Client(config);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment