🔄Update: 天气板块
This commit is contained in:
@@ -33,6 +33,12 @@
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.hezhaohui</groupId>
|
||||
<artifactId>common</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<properties>
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
package cn.hezhaohui.lark;
|
||||
|
||||
import cn.hezhaohui.lark.util.LarkUtil;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
package cn.hezhaohui.lark.constant;
|
||||
|
||||
public class AppConstant {
|
||||
|
||||
public final static String APP_ID = "cli_a875a60984b5500c";
|
||||
public final static String APP_SECRET = "toAfmMddNEG9qWsYngs7wch0HwW4vAls";
|
||||
public final static String APP_USER_OPEN_ID = "ou_9eb248881be923bad599f342c22a4e7a";
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
package cn.hezhaohui.lark.handler;
|
||||
|
||||
import cn.hezhaohui.lark.constant.AppConstant;
|
||||
import cn.hezhaohui.common.AppConstant;
|
||||
import com.lark.oapi.core.request.EventReq;
|
||||
import com.lark.oapi.core.utils.Jsons;
|
||||
import com.lark.oapi.event.CustomEventHandler;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package cn.hezhaohui.lark.util;
|
||||
|
||||
import cn.hezhaohui.lark.constant.AppConstant;
|
||||
import cn.hezhaohui.common.AppConstant;
|
||||
import cn.hutool.core.util.IdUtil;
|
||||
import cn.hutool.json.JSONUtil;
|
||||
import com.google.gson.JsonParser;
|
||||
@@ -51,4 +51,8 @@ public class LarkUtil {
|
||||
// 业务数据处理
|
||||
System.out.println(Jsons.DEFAULT.toJson(resp.getData()));
|
||||
}
|
||||
|
||||
public static void sendCard(String cardId, String dataJson) {
|
||||
// TODO
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user