Commit ac64c309 authored by hujun's avatar hujun

减绑定数量

parent 0eaecfeb
...@@ -62,7 +62,7 @@ class BindingPhone extends BaseModel ...@@ -62,7 +62,7 @@ class BindingPhone extends BaseModel
$phone_data = $phone->where('phone_x',$phone_x)->find(); $phone_data = $phone->where('phone_x',$phone_x)->find();
if ($phone_data['id']) { if ($phone_data['id']) {
$phone_data['bind_num'] += 1; $phone_data['bind_num'] -= 1;
$phone_data->save(); $phone_data->save();
$result = $this->where([ $result = $this->where([
......
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