wugg 2 years ago
parent
commit
77ea1c9d03
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/Payment.php

+ 1 - 1
app/admin/controller/Payment.php

@@ -694,7 +694,7 @@ class Payment extends BaseController
         Db::startTrans();
         try{
             $mentupdate =["status"=>$status,"remark"=>$remark,"return_img"=>$image,"updatetime"=>date("Y-m-d H:i:s")];
-            if($status==4) $mentupdate['return_time'] = $return_time;
+            if($status==3) $mentupdate['return_time'] = $return_time;
             $payup=Db::name("pay_payment")->where($payment)->update($mentupdate);
             if($payup){
                 if (in_array($status,[3,4])){