|
@@ -23,7 +23,7 @@ require_once EXTEND_PATH . 'shengwang/src/RtmTokenBuilder2.php';
|
|
|
*/
|
|
|
class Party extends Common
|
|
|
{
|
|
|
- protected $noNeedLogin = ['updatePartyInfo','getPatyType','addUserPositionToParty', 'clearMoney','clearCharm','getPartyRankList','getDefaultBackground','getPartGifList','getPartHeadgifList','isNotalk','getMusicList','updateTops','handleParty'];
|
|
|
+ protected $noNeedLogin = ['updatePartyInfo','getPatyType','shengwang_token','addUserPositionToParty', 'clearMoney','clearCharm','getPartyRankList','getDefaultBackground','getPartGifList','getPartHeadgifList','isNotalk','getMusicList','updateTops','handleParty'];
|
|
|
protected $noNeedRight = ['*'];
|
|
|
|
|
|
protected $redis;
|
|
@@ -261,6 +261,9 @@ class Party extends Common
|
|
|
|
|
|
$partyInfo = $sqlPartyInfo;
|
|
|
$partyInfo["is_new"] = 0;
|
|
|
+ //naming avatar type_name
|
|
|
+
|
|
|
+ $easemob_room_id = $sqlPartyInfo['easemob_room_id'];
|
|
|
}
|
|
|
|
|
|
//声网三个token
|
|
@@ -299,7 +302,7 @@ class Party extends Common
|
|
|
];
|
|
|
//dump($result);
|
|
|
|
|
|
- if($result == 1){
|
|
|
+ if($return == 1){
|
|
|
return $result;
|
|
|
}else{
|
|
|
$this->success(1,$result);
|