edit-api-finish_order
This commit is contained in:
@@ -251,6 +251,7 @@ class Contract extends Wxapp{
|
||||
$result = $this->contracts_model->update($update,['id'=>$row['id']]);
|
||||
if($result){
|
||||
$this->orders_model->update(['status'=>6],['id'=>$row['o_id']]);
|
||||
$this->deliverys_model->update(['status'=>2],['o_id'=>$row['o_id']]);
|
||||
//完成分销
|
||||
$this->load->library('entity/deal_entity',['app_id'=>1]);
|
||||
$this->deal_entity->deal_log_finish($row['o_id']);
|
||||
|
||||
Reference in New Issue
Block a user