Commit a989140c authored by hujun's avatar hujun

del

parent 9c86f53a
...@@ -113,11 +113,12 @@ class Refund extends Basic ...@@ -113,11 +113,12 @@ class Refund extends Basic
switch ($this->params['status']) { switch ($this->params['status']) {
case 1 : case 1 :
$log_where['status'] = 1; $log_where['status'] = 1;
$log_where['is_del'] = 0;
$check_agent_id = $m_refund_log->getListAll('operation_id', $log_where); $check_agent_id = $m_refund_log->getListAll('operation_id', $log_where);
foreach ($check_agent_id as $v) { foreach ($check_agent_id as $v) {
if ($v['operation_id'] == $this->userId) { if ($v['operation_id'] == $this->userId) {
// return $this->response(101, '你已审核过'); return $this->response(101, '你已审核过');
} }
} }
...@@ -152,7 +153,7 @@ class Refund extends Basic ...@@ -152,7 +153,7 @@ class Refund extends Basic
break; break;
case 4 : case 4 :
$save_data['status'] = $status = 4; $save_data['status'] = $status = 4;
$m_refund_log->updateData(['is_del' => 1], ['refund_id' => $this->params['refund_id'], 'status' => 1, 'is_del' => 0]); $m_refund_log->updateData(['is_del' => 1], ['refund_id' => $this->params['refund_id'], 'is_del' => 0]);
$num = $m_refund_log->insertData($save_data); $num = $m_refund_log->insertData($save_data);
$push = new PushMessageService(); $push = new PushMessageService();
......
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