Explorar o código

测试一下 是否满足

lvhao hai 6 meses
pai
achega
7db19f880f
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  1. 6 1
      core/CoreApp/controllers/Fullorder.php

+ 6 - 1
core/CoreApp/controllers/Fullorder.php

@@ -1343,7 +1343,12 @@ class Fullorder extends Start_Controller {
 		$arg_array = $arg_array[0];$fpdata = array();
 		$fullorder = $this->fullorder->read($arg_array);
 		$returngoods = $this->returngoods->get_orderinfo($fullorder['orderinfo']);
-		$this->data['returngoods'] = $returngoods?1:0;
+		$this->data['returngoods'] = 0;
+		if(!empty($returngoods)){
+			if($returngoods['status'] == 120){
+				$this->data['returngoods'] = 1;
+			}
+		}
 		$fullorder['parameter'] = str_replace(",","---",$fullorder['parameter']);
 		$country = $this->country->find_all('1=1','id,name','name asc');//所有国家信息
 		$express = $this->express->find_all('1=1');//所有快递配置信息