11
This commit is contained in:
@@ -161,7 +161,7 @@ class UserController extends Frontend
|
|||||||
public function updatePhone()
|
public function updatePhone()
|
||||||
{
|
{
|
||||||
$user_id = $this->auth->user_id;
|
$user_id = $this->auth->user_id;
|
||||||
$post = $this->request->post();
|
$post = $this->request->get();
|
||||||
if(empty($post['phone']) || empty($post['msg'])) {
|
if(empty($post['phone']) || empty($post['msg'])) {
|
||||||
$this->error('参数不正常');
|
$this->error('参数不正常');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user