Merge branch 'hotfix' into develop

master
kira 6 years ago
commit ea8025ff3d

@ -22,6 +22,7 @@ import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.CollectionUtils;
import org.springframework.util.StringUtils;
import java.util.Date;
import java.util.HashMap;
@ -111,6 +112,9 @@ public class PostponeClientTask {
JSONObject client = clientManager.getClientInfo(account.getIntValue("client_id"));
try {
if(StringUtils.isEmpty(account.getString("wechat_openid"))){
return;
}
MpWechatApi api = mpWechatApiProvider.getApiFromOpenId(account.getString("wechat_openid"));
if (api != null) {
String templateId = api.getTemplateId("client-postpone");

Loading…
Cancel
Save