文案首行
This commit is contained in:
@@ -96,7 +96,7 @@ public class JDUtil {
|
|||||||
* <p>
|
* <p>
|
||||||
* 订单号:
|
* 订单号:
|
||||||
*/
|
*/
|
||||||
private static final String WENAN_D = "单:\n" + "{单号} \n" + "分销标记(标记用,勿改):\n" + "型号:\n" + "\n" + "链接:\n" + "\n" + "下单付款:\n" + "\n" + "后返金额:\n" + "\n" + "地址:\n" + "\n" + "物流链接:\n" + "\n" + "订单号:\n" + "\n" + "下单人:\n" + "\n";
|
private static final String WENAN_D = "单:\n" + "{单号} \n" + "分销标记(标记用,勿改):\n" + "型号:\n" + "\n" + "链接:\n" + "\n" + "下单付款:\n" + "\n" + "后返金额:\n" + "\n" + "地址:\n" +"{地址}"+ "\n" + "物流链接:\n" + "\n" + "订单号:\n" + "\n" + "下单人:\n" + "\n";
|
||||||
|
|
||||||
final WXUtil wxUtil;
|
final WXUtil wxUtil;
|
||||||
private final StringRedisTemplate redisTemplate;
|
private final StringRedisTemplate redisTemplate;
|
||||||
@@ -1498,6 +1498,7 @@ public class JDUtil {
|
|||||||
|
|
||||||
// 替换模板中的占位符
|
// 替换模板中的占位符
|
||||||
temp = temp.replace("{单号}", orderID);
|
temp = temp.replace("{单号}", orderID);
|
||||||
|
temp = temp.replace("{地址}", order);
|
||||||
|
|
||||||
// 发送订单信息到微信
|
// 发送订单信息到微信
|
||||||
wxUtil.sendTextMessage(fromWxid, temp, 1, fromWxid, true);
|
wxUtil.sendTextMessage(fromWxid, temp, 1, fromWxid, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user