@ -173,6 +173,8 @@ class User extends Api
$extend['pid'] = $user->id;
}
$warehouse = Warehouse::where('id','>',0)->find();
$extend['warehouse_id'] = $warehouse['id'] ?? 0;
// $ret = Sms::check($mobile, $code, 'register');
// if (!$ret) {
// $this->error(__('Captcha is incorrect'));