|
@@ -52,8 +52,7 @@ class After extends Base
|
|
|
return error_show(1005,"未找到退货原因数据");
|
|
|
}
|
|
|
$remark =isset($this->post['remark']) &&$this->post['remark']!=''?trim($this->post['remark']) :"";
|
|
|
- $is_receive =isset($this->post['is_receive']) &&$this->post['is_receive']!==''?intval($this->post['is_receive'])
|
|
|
- :"";
|
|
|
+ $is_receive =isset($this->post['is_receive']) &&$this->post['is_receive']!==''?intval($this->post['is_receive']):"";
|
|
|
if($is_receive===""){
|
|
|
return error_show(1004,"参数 is_receive 不能为空");
|
|
|
}
|
|
@@ -126,7 +125,7 @@ class After extends Base
|
|
|
|
|
|
Db::execute("UPDATE `wsm_standing_book` SET `returnCode`=CONCAT(`returnCode`,',{$returnCode}'),`updatetime`='" . date('Y-m-d H:i:s') . "' WHERE FIND_IN_SET('{$outCode}',`outCode`)");
|
|
|
|
|
|
- $process=["order_code"=>$returnCode,"order_id"=>$create,"order_status"=>$in['status'],"order_type"=>'SHD',"before_status"=>1];
|
|
|
+ $process = ["order_code" => $returnCode, "order_id" => $create, "order_status" => $in['status'], "order_type" => 'SHD', "before_status" => 1, 'wait_id' => $orderout['apply_id'], 'wait_name' => $orderout['apply_name']];
|
|
|
ProcessOrder::AddProcess($token,$process);
|
|
|
Db::commit();
|
|
|
return app_show(0,"售后申请单新建成功",["returnCode"=>$returnCode]);
|