浏览代码

修改接参方式

lizhen_gitee 8 月之前
父节点
当前提交
713f2aabe3
共有 2 个文件被更改,包括 5 次插入5 次删除
  1. 1 1
      application/api/controller/Usercenter.php
  2. 4 4
      application/config.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();
         }

+ 4 - 4
application/config.php

@@ -385,11 +385,11 @@ return [
         'secret' => 'MK7sRjd2rpZ4PEbngf76PvKhvpTJWc',
     ],
 
-    //环信推送 正式
+    //环信推送  简讯 正式
     'easemob' => [
-        'appkey'        => '1137221110163975#tkenim',
-        'client_id'     => 'YXA6DEehGBpFTb-UOcgmWtveZQ',
-        'client_secret' => 'YXA6KhfJfqyJYBn2I20DdgTEzWpx5Cs',
+        'appkey'        => '1195240713175879#jianxun',
+        'client_id'     => 'YXA6B99jZQRYSseUU61dXFSszA',
+        'client_secret' => 'YXA6eEHWSE4cB3g_c5HJPRY3x-YkoVY',
     ],