|
|
@@ -1,6 +1,7 @@
|
|
|
package com.usoftchina.smartschool.school.wxschool.support;
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
+import com.usoftchina.smartschool.context.SpringContextHolder;
|
|
|
import com.usoftchina.smartschool.school.po.MeetingDO;
|
|
|
import com.usoftchina.smartschool.school.po.SchoolDO;
|
|
|
import com.usoftchina.smartschool.school.wxschool.basic.service.impl.WxMeetingServiceImpl;
|
|
|
@@ -39,8 +40,7 @@ public class RemindTask extends TimerTask {
|
|
|
private WxTemplateMapper wxTemplateMapper;
|
|
|
|
|
|
|
|
|
- @Value("${smartschool.domain.wechat}")
|
|
|
- private String wechatUrl;
|
|
|
+ private final static String wechatUrl = SpringContextHolder.getDomain();
|
|
|
|
|
|
private final static Logger LOGGER = LoggerFactory.getLogger(RemindTask.class);
|
|
|
|