Commit 117badcc authored by hujun's avatar hujun

删除分佣方

parent e70acb83
...@@ -1340,9 +1340,9 @@ class Finance extends Basic ...@@ -1340,9 +1340,9 @@ class Finance extends Basic
if (empty($this->params['partial_id'])) if (empty($this->params['partial_id']))
return $this->response(101, '参数错误'); return $this->response(101, '参数错误');
$partial_id = $this->params['partial_id']; $partial_id = $this->params['partial_id'];
$m_partial = new OPartialCommission(); $m_partial = new OBargainModel();
$data['is_del'] = 1; $data['status'] = 30;
$num = $m_partial->editData($data, $partial_id); $num = $m_partial->updateBargainById($partial_id, $data);
if ($num > 0) { if ($num > 0) {
$result['code'] = 200; $result['code'] = 200;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment