拉卡拉生产环境配置参数修改

This commit is contained in:
Jack 2025-07-30 16:04:40 +08:00
parent 6c3e66b249
commit c7ebd82d64
7 changed files with 15 additions and 6 deletions

View File

@ -68,6 +68,9 @@ public class LklTkServiceImpl {
@Value("${lakala.tk.notify_pub_key_path}") @Value("${lakala.tk.notify_pub_key_path}")
private String notifyPubKeyPath; private String notifyPubKeyPath;
@Value("${lakala.tk.activity_id}")
private Integer activityId;
@Value("${lakala.tk.wx_fee}") @Value("${lakala.tk.wx_fee}")
private String wxFee; private String wxFee;
@ -435,7 +438,7 @@ public class LklTkServiceImpl {
// 费率和设备活动 // 费率和设备活动
JSONObject bizContent = new JSONObject(); JSONObject bizContent = new JSONObject();
bizContent.put("activityId", 687); bizContent.put("activityId", activityId);
bizContent.put("termNum", "1"); bizContent.put("termNum", "1");
bizContent.put("mcc", "12015"); // 超市的 code bizContent.put("mcc", "12015"); // 超市的 code
bizContent.put("fees", new JSONArray() {{ bizContent.put("fees", new JSONArray() {{

View File

@ -33,13 +33,13 @@ public class ShopStorePrinterTemplateServiceImpl extends BaseServiceImpl<ShopSto
queryWrapper.eq("store_id", storeId); queryWrapper.eq("store_id", storeId);
queryWrapper.eq("category", category); queryWrapper.eq("category", category);
queryWrapper.orderByAsc("template_id"); queryWrapper.orderByAsc("template_id");
ShopStorePrinterTemplate shopStorePrinterTemplate = getOne(queryWrapper); ShopStorePrinterTemplate shopStorePrinterTemplate = findOne(queryWrapper);
if (shopStorePrinterTemplate == null || shopStorePrinterTemplate.getTemplate_id() <= 0) { if (shopStorePrinterTemplate == null || shopStorePrinterTemplate.getTemplate_id() <= 0) {
queryWrapper.clear(); queryWrapper.clear();
queryWrapper.eq("store_id", 0);// 公共下单模版 queryWrapper.eq("store_id", 0);// 公共下单模版
queryWrapper.eq("category", category); queryWrapper.eq("category", category);
queryWrapper.orderByAsc("template_id"); queryWrapper.orderByAsc("template_id");
shopStorePrinterTemplate = getOne(queryWrapper); shopStorePrinterTemplate = findOne(queryWrapper);
} }
return shopStorePrinterTemplate; return shopStorePrinterTemplate;

View File

@ -167,6 +167,7 @@ lakala:
client_secret: XPa1HB5d55Ig0qV8 client_secret: XPa1HB5d55Ig0qV8
user_no: 29153396 user_no: 29153396
ratio: 70.00 ratio: 70.00
activity_id: 687
wx_fee: 0.6 # 微信手续费 6/1000 wx_fee: 0.6 # 微信手续费 6/1000
api_pub_key_path: payKey/lakala/dev/tk_api_public_key.txt api_pub_key_path: payKey/lakala/dev/tk_api_public_key.txt
api_pri_key_path: payKey/lakala/dev/tk_api_private_key.txt api_pri_key_path: payKey/lakala/dev/tk_api_private_key.txt

View File

@ -167,6 +167,7 @@ lakala:
client_secret: XPa1HB5d55Ig0qV8 client_secret: XPa1HB5d55Ig0qV8
user_no: 29153396 user_no: 29153396
split_lowest_ratio: 70.00 split_lowest_ratio: 70.00
activity_id: 687
wx_fee: 0.6 # 微信手续费 6/1000 wx_fee: 0.6 # 微信手续费 6/1000
api_pub_key_path: payKey/lakala/dev/tk_api_public_key.txt api_pub_key_path: payKey/lakala/dev/tk_api_public_key.txt
api_pri_key_path: payKey/lakala/dev/tk_api_private_key.txt api_pri_key_path: payKey/lakala/dev/tk_api_private_key.txt

View File

@ -171,10 +171,11 @@ lakala:
tk: tk:
#服务地址 #服务地址
server_url: https://tkapi.lakala.com server_url: https://tkapi.lakala.com
client_id: lsycs client_id: gpff
client_secret: XPa1HB5d55Ig0qV8 client_secret: uRjvaJkWS1A0VsAv
user_no: 29153396 user_no: 22874827
split_lowest_ratio: 70.00 split_lowest_ratio: 70.00
activity_id: 208
wx_fee: 0.25 # 微信手续费 6/1000 wx_fee: 0.25 # 微信手续费 6/1000
api_pub_key_path: payKey/lakala/prod/tk_api_public_key.txt api_pub_key_path: payKey/lakala/prod/tk_api_public_key.txt
api_pri_key_path: payKey/lakala/prod/tk_api_private_key.txt api_pri_key_path: payKey/lakala/prod/tk_api_private_key.txt
@ -204,6 +205,7 @@ lakala:
# client_secret: XPa1HB5d55Ig0qV8 # client_secret: XPa1HB5d55Ig0qV8
# user_no: 29153396 # user_no: 29153396
# split_lowest_ratio: 70.00 # split_lowest_ratio: 70.00
# activity_id: 687
# wx_fee: 0.6 # 微信手续费 6/1000 # wx_fee: 0.6 # 微信手续费 6/1000
# api_pub_key_path: payKey/lakala/dev/tk_api_public_key.txt # api_pub_key_path: payKey/lakala/dev/tk_api_public_key.txt
# api_pri_key_path: payKey/lakala/dev/tk_api_private_key.txt # api_pri_key_path: payKey/lakala/dev/tk_api_private_key.txt

View File

@ -171,6 +171,7 @@ lakala:
client_secret: XPa1HB5d55Ig0qV8 client_secret: XPa1HB5d55Ig0qV8
user_no: 29153396 user_no: 29153396
ratio: 70.00 ratio: 70.00
activity_id: 687
wx_fee: 0.6 # 微信手续费 6/1000 wx_fee: 0.6 # 微信手续费 6/1000
api_pub_key_path: payKey/lakala/dev/tk_api_public_key.txt api_pub_key_path: payKey/lakala/dev/tk_api_public_key.txt
api_pri_key_path: payKey/lakala/dev/tk_api_private_key.txt api_pri_key_path: payKey/lakala/dev/tk_api_private_key.txt

View File

@ -171,6 +171,7 @@ lakala:
client_secret: XPa1HB5d55Ig0qV8 client_secret: XPa1HB5d55Ig0qV8
user_no: 29153396 user_no: 29153396
ratio: 70.00 ratio: 70.00
activity_id: 687
wx_fee: 0.6 # 微信手续费 6/1000 wx_fee: 0.6 # 微信手续费 6/1000
api_pub_key_path: payKey/lakala/dev/tk_api_public_key.txt api_pub_key_path: payKey/lakala/dev/tk_api_public_key.txt
api_pri_key_path: payKey/lakala/dev/tk_api_private_key.txt api_pri_key_path: payKey/lakala/dev/tk_api_private_key.txt