diff --git a/stdiet-admin/src/main/java/com/stdiet/web/controller/custom/WechatAppletController.java b/stdiet-admin/src/main/java/com/stdiet/web/controller/custom/WechatAppletController.java index 82683ea80..b52174f46 100644 --- a/stdiet-admin/src/main/java/com/stdiet/web/controller/custom/WechatAppletController.java +++ b/stdiet-admin/src/main/java/com/stdiet/web/controller/custom/WechatAppletController.java @@ -459,11 +459,11 @@ public class WechatAppletController extends BaseController { } // 更新时间超过21天,重新登录获取最新信息 - if ( +// if ( // StringUtils.isEmpty(curWxUserInfo.getAvatarUrl()) || - ChronoUnit.DAYS.between(DateUtils.dateToLocalDate(curWxUserInfo.getUpdateTime()), LocalDate.now()) >= 21) { - return AjaxResult.error(5001, "信息缺失或者过期需要重新登录"); - } +// ChronoUnit.DAYS.between(DateUtils.dateToLocalDate(curWxUserInfo.getUpdateTime()), LocalDate.now()) >= 21) { +// return AjaxResult.error(5001, "信息缺失或者过期需要重新登录"); +// } SysCustomerHealthy customerHealthy = sysCustomerHealthyService.selectSysCustomerHealthyByCustomerId(curWxUserInfo.getCusId()); if (customerHealthy == null) { diff --git a/stdiet-custom/src/main/java/com/stdiet/custom/service/impl/WeChartAppletServiceImp.java b/stdiet-custom/src/main/java/com/stdiet/custom/service/impl/WeChartAppletServiceImp.java index 079b765ea..dce4e1da7 100644 --- a/stdiet-custom/src/main/java/com/stdiet/custom/service/impl/WeChartAppletServiceImp.java +++ b/stdiet-custom/src/main/java/com/stdiet/custom/service/impl/WeChartAppletServiceImp.java @@ -177,7 +177,7 @@ public class WeChartAppletServiceImp implements IWechatAppletService { // param.put("miniprogram", miniData); JSONObject dataParam = new JSONObject(); - dataParam.put("first", JSONObject.parse("{\"value\":\"完成打卡\"}")); + dataParam.put("first", JSONObject.parse("{\"value\":\"客户完成打卡通知\"}")); dataParam.put("keyword1", JSONObject.parse("{\"value\":\"" + name + "\"}")); dataParam.put("keyword2", JSONObject.parse("{\"value\":\"" + DateUtils.getTime() + "\"}")); dataParam.put("keyword3", JSONObject.parse("{\"value\":\"成功\"}"));