|
@@ -2028,6 +2028,12 @@ class User extends Api
|
|
|
}
|
|
|
|
|
|
$mobile = $user_info['phoneNum'];
|
|
|
+ if (!$mobile) {
|
|
|
+ $mobile = $this->request->post('mobile');
|
|
|
+ }
|
|
|
+ if (!$mobile) {
|
|
|
+ $this->error(__('Invalid parameters'));
|
|
|
+ }
|
|
|
/*$mobile = $this->request->post('mobile');
|
|
|
if (!$mobile) {
|
|
|
$this->error(__('Invalid parameters'));
|