lyhzzz 4 月之前
父节点
当前提交
c055536684
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/fdkankan/pay/controller/PayController.java

+ 1 - 1
src/main/java/com/fdkankan/pay/controller/PayController.java

@@ -52,7 +52,7 @@ public class PayController extends BaseController {
 
     @PostMapping(value = "/openPay")
     @ResponseBody
-    public ResultData openPay(@RequestBody Order param) throws Exception {
+    public synchronized ResultData openPay(@RequestBody Order param) throws Exception {
         return ResultData.ok(payOrderService.openPay(param, UrlUtils.getIpAddr(request),getLang()));
     }