fix wx notify

master
luoyang 5 years ago
parent 39c08c4394
commit 71b80bae57

@ -193,10 +193,9 @@ public class RServicesApplyServiceImpl implements RServicesApplyService {
}
TemplateMessage message = new TemplateMessage(account.getString("wechat_openid"), templateId, null);
message.put("first", "[RoyalPay]" + increment.getString("channel") + "付费成功通知", "#ff0000");
message.put("keyword1", applyInfo.getString("title"), "#0000ff");
message.put("keyword2", "支付金额: $" + applyInfo.getString("amount"), "#000000");
message.put("keyword3", "签约时间" + DateFormatUtils.format(applyInfo.getDate("create_time"),"yyyy-MM-dd HH:mm:ss"), "#000000");
message.put("keyword4", "申请人:" + account.getString("display_name"), "#000000");
message.put("keyword1", "- $" + applyInfo.getString("amount"), "#ff0000");
message.put("keyword2", "签约时间" + DateFormatUtils.format(applyInfo.getDate("create_time"),"yyyy-MM-dd HH:mm:ss"), "#000000");
message.put("keyword3", applyInfo.getString("title"), "#0000ff");
message.put("remark", "感谢您的使用,如有疑问或需帮助,请拨打我们的客服电话:1300 107 750或添加RoyalPay官方客服号:royalpay_1详询.", "#ff0000");
mpWechatApi.sendTemplateMessage(message);
} catch (Exception e) {

Loading…
Cancel
Save