Commit 312cc629 authored by clone's avatar clone

bug

parent 27facf9b
......@@ -603,7 +603,7 @@ class Users extends Model
public function unbundlingWx($buyer_id)
{
return $this->where("buyer_id", $buyer_id)->save([ "buyer_id" => 0 ]);
return $this->where("buyer_id", $buyer_id)->setField("buyer_id", 0);
}
}
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