diff --git a/src/main/java/UnitTest/TestDingTalk.java b/src/main/java/UnitTest/TestDingTalk.java index 9f11699..76ef4ec 100644 --- a/src/main/java/UnitTest/TestDingTalk.java +++ b/src/main/java/UnitTest/TestDingTalk.java @@ -28,7 +28,7 @@ public class TestDingTalk { public static void main(String[] args_) throws Exception { PropKit.use("dingtalk.properties"); String corpId = PropKit.get("corpId"); - long agentId = PropKit.getInt("agentId"); + long agentId = PropKit.getLong("agentId"); final String appKey = PropKit.get("appKey"); String appSecret = PropKit.get("appSecret"); diff --git a/src/main/resource/dingtalk.properties b/src/main/resource/dingtalk.properties index 70bda6a..a145ed7 100644 --- a/src/main/resource/dingtalk.properties +++ b/src/main/resource/dingtalk.properties @@ -1,9 +1,7 @@ # 公司ID -corpId = "ding0b95901147fc6be0f2c783f7214b6d69"; - +corpId=ding0b95901147fc6be0f2c783f7214b6d69 # 这是啥? -agentId = 2619270936L; - +agentId=2619270936 # AK SK -appKey = "dingr94qyhpr8bflyxqz"; -appSecret = "hnxZ93QqkGJpRyBziaR2vlbOPZo1U9eeqj73DfFuFnIxIUHNPbMR2DkIol9oGteh"; \ No newline at end of file +appKey=dingr94qyhpr8bflyxqz +appSecret=hnxZ93QqkGJpRyBziaR2vlbOPZo1U9eeqj73DfFuFnIxIUHNPbMR2DkIol9oGteh \ No newline at end of file diff --git a/target/classes/dingtalk.properties b/target/classes/dingtalk.properties index 70bda6a..a145ed7 100644 --- a/target/classes/dingtalk.properties +++ b/target/classes/dingtalk.properties @@ -1,9 +1,7 @@ # 公司ID -corpId = "ding0b95901147fc6be0f2c783f7214b6d69"; - +corpId=ding0b95901147fc6be0f2c783f7214b6d69 # 这是啥? -agentId = 2619270936L; - +agentId=2619270936 # AK SK -appKey = "dingr94qyhpr8bflyxqz"; -appSecret = "hnxZ93QqkGJpRyBziaR2vlbOPZo1U9eeqj73DfFuFnIxIUHNPbMR2DkIol9oGteh"; \ No newline at end of file +appKey=dingr94qyhpr8bflyxqz +appSecret=hnxZ93QqkGJpRyBziaR2vlbOPZo1U9eeqj73DfFuFnIxIUHNPbMR2DkIol9oGteh \ No newline at end of file