@@ -139,7 +139,7 @@ class TradeController
return app('json')->fail('参数不足');
}
$uid_check = User::where('account', $to_user_account)->value('uid');
- if ($uid != $uid_check) {
+ if ($to_uid != $uid_check) {
return app('json')->fail('用户账号与uid不符');