新增二维码支付接口

This commit is contained in:
602090531@qq.com 2022-03-25 19:51:01 +08:00
parent 7ed38ff6fc
commit 3e31386efa
2 changed files with 15 additions and 4 deletions

View File

@ -225,10 +225,22 @@
<version>${concurrentlinkedhashmap.version}</version>
</dependency>
<!-- <dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.5.6</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>${okhttp.version}</version>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.3</version>
</dependency>-->
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.6</version>
</dependency>
<dependency>

View File

@ -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);
//JSONObject orderJson = JSONObject.parseObject(afterDecodeResult);
WxPayEntity wxPayEntity = new WxPayEntity();
wxPayEntity.setProduct_id(order.getProductCode());