|
@@ -41,9 +41,9 @@ class After extends \app\BaseController
|
|
|
return error_show(1004,"参数 num 不能为空或零");
|
|
|
}
|
|
|
$order_type =isset($this->post['order_type']) &&$this->post['order_type']!=''?intval($this->post['order_type']) :"";
|
|
|
- if($order_type==""){
|
|
|
- return error_show(1004,"参数 order_type 不能为空或零");
|
|
|
- }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
$remark =isset($this->post['remark']) &&$this->post['remark']!=''?trim($this->post['remark']) :"";
|
|
|
$except_code =isset($this->post['except_code']) &&$this->post['except_code']!=''?trim($this->post['except_code']) :"";
|
|
|
$img = isset($this->post['img']) &&$this->post['img']!=''?trim($this->post['img']) :"";
|
|
@@ -77,7 +77,7 @@ class After extends \app\BaseController
|
|
|
"error_remark"=>$remark,
|
|
|
"remark"=>'',
|
|
|
"except_code"=>$except_code,
|
|
|
- "order_type"=>$order_type,
|
|
|
+ "order_type"=>$order['order_type'],
|
|
|
"status"=>0,
|
|
|
"is_del"=>0,
|
|
|
"addtime"=>date("Y-m-d H:i:s"),
|