Commit 95e57d98 authored by shangtx's avatar shangtx

fix: 小程序消息

parent 3589ad41
......@@ -8,6 +8,7 @@ import com.onsiteservice.entity.order.ServiceOrder;
import com.onsiteservice.service.order.WorkUser;
import lombok.extern.slf4j.Slf4j;
import me.chanjar.weixin.common.error.WxErrorException;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
......@@ -78,7 +79,7 @@ public class MiniAppMessageService {
new WxMaSubscribeMessage.MsgData("character_string1", order.getOrderNo()),
new WxMaSubscribeMessage.MsgData("thing7", order.getServiceName()),
new WxMaSubscribeMessage.MsgData("thing11", workUser.getName()),
new WxMaSubscribeMessage.MsgData("phone_number16", workUser.getPhone()),
new WxMaSubscribeMessage.MsgData("phone_number16", StringUtils.defaultString(workUser.getPhone(), "-")),
new WxMaSubscribeMessage.MsgData("thing5", remark));
sendSubscribeMsg(valuatorTmp, user.getOpenId(), data);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment