Browse Source

补救不能二次售后的bug

lvhao 6 months ago
parent
commit
7bc5320aa2
1 changed files with 4 additions and 1 deletions
  1. 4 1
      core/CoreApp/controllers/Returngoods.php

+ 4 - 1
core/CoreApp/controllers/Returngoods.php

@@ -193,7 +193,10 @@ class Returngoods extends Start_Controller {
         
         $info = $this->returngoods->find("orderinfo = ".$order_info['orderinfo']);
         if(!empty($info)){
-            return $this->_see([$info['id']]);
+            if($info['status']!=120){
+                return $this->_see([$info['id']]);
+            }
+            
         }
         
         $this->data['order_info'] = $order_info;