wupengfei 2 years ago
parent
commit
08a46dfd2e
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .idea/workspace.xml
  2. 1 1
      application/common.php

+ 1 - 1
.idea/workspace.xml

@@ -178,7 +178,7 @@
       <workItem from="1668041658444" duration="593000" />
       <workItem from="1668042326649" duration="24523000" />
       <workItem from="1668212914124" duration="17446000" />
-      <workItem from="1668387546036" duration="6785000" />
+      <workItem from="1668387546036" duration="6836000" />
     </task>
     <servers />
   </component>

+ 1 - 1
application/common.php

@@ -290,7 +290,7 @@ function get32Str($length='32'){
     $token_res = requestPost('https://a1-vip5.easemob.com/1414221110068467/kefuchannelapp104968/token',json_encode($data));
     $token_res = json_decode($token_res,true);
     $param = array(
-        'username' => 'act_'.$username.'_'.rand(0000,9999),
+        'username' => 'act'.$username.rand(0000,9999),
         'password' => $password
     );
     $hx_account = http_post_json('https://a1-vip5.easemob.com/1414221110068467/kefuchannelapp104968/users',json_encode($param),$token_res['access_token']);