Commit 8af96327 authored by clone's avatar clone

bug

parent 5c5b0556
......@@ -532,7 +532,7 @@ class OrderLog extends Basic
$data['msg'] = 'Add the failure.';
}
return $this->response($data['code'], $data['msg'], $data['data']);
return $this->response($data['code'], $data['msg'], []);
}
/**
......
......@@ -505,7 +505,7 @@ class OBargainModel extends Model
*/
public function addBargainCommission($id, $submit_agent_id, $agent_id, $role, $scale_fee, $scale,$source) {
$this->startTrans();
$bargain_data = $this->where('id', $id)->find()->lock(true);
$bargain_data = $this->where('id', $id)->find();
if (empty($bargain_data['id'])) {
$result = false;
......
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