|
@@ -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']);
|