瀏覽代碼

feat:入驻business_code修改

刘云鑫 1 周之前
父節點
當前提交
5c20831ff8

+ 1 - 1
alien-store/src/main/java/shop/alien/store/service/WeChatPartnerApplymentService.java

@@ -762,7 +762,7 @@ public class WeChatPartnerApplymentService {
             if (StringUtils.isBlank(sp)) {
                 throw new IllegalArgumentException("未配置服务商商户号 payment.wechatPartnerPay.business.spMchId,无法生成 business_code");
             }
-            String code = sp + "_" + storeId;
+            String code = sp + "_" + storeId + "_" + System.currentTimeMillis();
             root.put("business_code", code);
             log.info("[进件] 已生成并写入 business_code={}(sp_mchid_storeId 格式,storeId={})", code, storeId);
             return GSON.toJson(root);