...
|
...
|
@@ -141,9 +141,16 @@ class Order extends Backend |
|
|
|
|
|
}
|
|
|
if($params['order_status'] == 2){
|
|
|
$order = Db::name('order')
|
|
|
->where('id',$ids)
|
|
|
->find();
|
|
|
if(empty($params['nopass'])){
|
|
|
$this->error('请填写未通过理由');
|
|
|
}
|
|
|
if($order['is_complaint'] == 1){
|
|
|
Db::name('order')->where('id',$ids)->update(['finish_status'=>4,'xian'=>3]);
|
|
|
}
|
|
|
|
|
|
Db::name('order')->where('id',$ids)->update(['finish_status'=>5,'xian'=>3]);
|
|
|
}
|
|
|
Db::startTrans();
|
...
|
...
|
|