mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-02 02:06:38 +08:00
新增二维码支付接口
This commit is contained in:
parent
3e31386efa
commit
d10b60f22f
@ -97,7 +97,6 @@ public class OrderController {
|
||||
String afterDecodeResult = AESUtil.decryptLinux(jsonObject.getString("data"), AESUtil.KEY);
|
||||
com.alibaba.fastjson.JSONArray jsonArray = JSONObject.parseArray(afterDecodeResult);
|
||||
JSONObject jsonObjectResult = (JSONObject)jsonArray.get(0);
|
||||
|
||||
WxPayEntity wxPayEntity = new WxPayEntity();
|
||||
wxPayEntity.setProduct_id(order.getProductCode());
|
||||
wxPayEntity.setTotal_fee(StringUtil.toString(jsonObjectResult.getString("salesAmount")));
|
||||
|
Loading…
Reference in New Issue
Block a user