plf 4 лет назад
Родитель
Сommit
e9b9066711

+ 1 - 2
src/main/java/com/caimei/controller/PayOrderApi.java

@@ -108,9 +108,8 @@ public class PayOrderApi {
      * 支付异步通知回调
      */
     @GetMapping("/paymentCallback")
-    public String paymentCallback(ServerRequest request) throws Exception {
+    public String paymentCallback(String data) throws Exception {
         log.info("异步回调通知>>>>>>>start");
-        String data = request.pathVariable("data");
         if (StringUtils.isBlank(data)) {
             return "回调参数失败";
         }

+ 1 - 0
src/main/resources/mapper/OrderMapper.xml

@@ -33,6 +33,7 @@
           co.clauseName,
           co.freePostFlag,
           co.freight,
+          co.paySuccessCounter,
           co.closeReason
     </sql>
     <select id="findOrderList" resultType="com.caimei.model.vo.OrderVo">

+ 1 - 1
src/main/resources/mapper/PayOrderMapper.xml

@@ -58,7 +58,7 @@
                 onlinePayFlag = #{onlinePayFlag},
             </if>
         </set>
-        where orderID = #{orderID,jdbcType=BIGINT}
+        where orderID = #{orderId}
     </update>
 
     <insert id="insertDiscernReceipt" keyColumn="id" keyProperty="id" useGeneratedKeys="true" parameterType="com.caimei.model.po.CmDiscernReceiptPo">