lqmac 1 year ago
parent 8999a0c02d
commit 17aec05a90
  1. 2
      application/api/controller/User.php

@ -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'));

Loading…
Cancel
Save