xieruidong 2 年之前
父节点
当前提交
9992976c65
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      application/index/controller/Payment.php

+ 3 - 0
application/index/controller/Payment.php

@@ -39,6 +39,9 @@ class Payment extends Frontend
             $payment->payed();
         }
         Db::commit();
+        if(!$isPay){
+            $this->result($succ,400);
+        }
         return $succ;
     }
 }