Browse Source

测试一下 是否满足

lvhao 6 tháng trước cách đây
mục cha
commit
7db19f880f
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  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');//所有快递配置信息