diff --git a/mall-shop/src/main/java/com/suisung/mall/shop/lakala/service/impl/LklTkServiceImpl.java b/mall-shop/src/main/java/com/suisung/mall/shop/lakala/service/impl/LklTkServiceImpl.java index df6e7db2..7e52c789 100644 --- a/mall-shop/src/main/java/com/suisung/mall/shop/lakala/service/impl/LklTkServiceImpl.java +++ b/mall-shop/src/main/java/com/suisung/mall/shop/lakala/service/impl/LklTkServiceImpl.java @@ -68,6 +68,9 @@ public class LklTkServiceImpl { @Value("${lakala.tk.notify_pub_key_path}") private String notifyPubKeyPath; + @Value("${lakala.tk.activity_id}") + private Integer activityId; + @Value("${lakala.tk.wx_fee}") private String wxFee; @@ -435,7 +438,7 @@ public class LklTkServiceImpl { // 费率和设备、活动 JSONObject bizContent = new JSONObject(); - bizContent.put("activityId", 687); + bizContent.put("activityId", activityId); bizContent.put("termNum", "1"); bizContent.put("mcc", "12015"); // 超市的 code bizContent.put("fees", new JSONArray() {{ diff --git a/mall-shop/src/main/java/com/suisung/mall/shop/store/service/impl/ShopStorePrinterTemplateServiceImpl.java b/mall-shop/src/main/java/com/suisung/mall/shop/store/service/impl/ShopStorePrinterTemplateServiceImpl.java index e2e796a3..f1d85b91 100644 --- a/mall-shop/src/main/java/com/suisung/mall/shop/store/service/impl/ShopStorePrinterTemplateServiceImpl.java +++ b/mall-shop/src/main/java/com/suisung/mall/shop/store/service/impl/ShopStorePrinterTemplateServiceImpl.java @@ -33,13 +33,13 @@ public class ShopStorePrinterTemplateServiceImpl extends BaseServiceImpl