Browse Source

修改接参方式

lizhen_gitee 8 tháng trước cách đây
mục cha
commit
a97d0f908a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      application/api/controller/Usercenter.php

+ 1 - 1
application/api/controller/Usercenter.php

@@ -42,7 +42,7 @@ class Usercenter extends Api
 
     //搜索用户列表
     public function search_user_list(){
-        $username = input_post('username','');
+        $username = input('username','');
         if(!$username){
             $this->error();
         }