he2802 4 年 前
コミット
b1c2c5cd7f

+ 2 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/wx/service/impl/WxPayServiceImpl.java

@@ -158,6 +158,8 @@ public class WxPayServiceImpl  implements IWxPayService {
             SnowflakeIdUtils idWorker = new SnowflakeIdUtils(3, 1);
 
             Map<String, String> data = new HashMap<String, String>();
+            data.put("appId", gzhAppid);
+            data.put("attach", "pay");
             data.put("body", body);
             data.put("out_trade_no", out_trade_no);
             data.put("device_info", "");