Commit e63af74a by liushuangwu

fix

1 parent b6b5bbd6
......@@ -106,7 +106,7 @@ public class FeiShuEventController {
@PostMapping("/msg_card")
public JSONObject msgCardEvent(@RequestBody String s) throws Exception {
JSONObject reqJsonObject = JSON.parseObject(s);
System.out.println(s);
log.info("msgCardEvent s {}",s);
if (reqJsonObject.containsKey("challenge")) {
return reqJsonObject;
}
......
......@@ -175,7 +175,7 @@ public class MassageNoticeScheduleService {
* 当天时间2:55,给第一波三个人更新卡片,并发送应用内提醒
*/
// @Async
@Scheduled(cron = "0 55 14 ? * THU")
/*@Scheduled(cron = "0 55 14 ? * THU")
public void massageStart() {
List<Pain> pains = painService.findListAsc(3);
// String msg = "{\"text\":\"当前按摩进度:<at user_id=\\\"%s\\\">%s</at> <at user_id=\\\"%s\\\">%s</at> <at user_id=\\\"%s\\\">%s</at>\"}";
......@@ -205,6 +205,6 @@ public class MassageNoticeScheduleService {
feiShuMsgDTO.setReceiveId(chatId);
feiShuApiService.sendMsg(feiShuMsgDTO, "chat_id");
}
}*/
}
......@@ -65,7 +65,7 @@
</where>
</select>
<update id="updateByOpenId" parameterType="java.lang.Integer">
<update id="updateByOpenId">
update t_pain set open_id = #{robOpenId},
name = #{robName} where open_id = #{oldOpenId}
</update>
......
......@@ -7,7 +7,7 @@
{
"tag": "div",
"text": {
"content": "1. 按摩时间15:00-17:30;\n2. 按摩时长每人15分钟,3人一组,按照图片顺序从上至下依次进行;\n3. 按完记得在自己的卡片上点击完成哦,系统会自动通知下一位成员;\n4. 点击放弃,名额将会发送到大群秒杀,先到先得;\n5. 有事暂时来不了,可以推迟到队伍最后;\n",
"content": "1. 按摩时间15:00-17:30;\n2. 按摩时长每人15分钟,3人一组,按照图片顺序从上至下依次进行;\n3. 点击放弃,名额将会发送到大群秒杀,先到先得;\n4. 有事暂时来不了,可以推迟到队伍最后;\n",
"tag": "lark_md"
}
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!