@@ -156,6 +156,12 @@ class Party extends Common
}
$partyInfo = $sqlPartyInfo;
$partyInfo["is_new"] = 0;
+
+ //修改类型
+ //目前直播需要,语聊不需要
+ if($room_type == 2){
+ Db::name('party')->where('id',$partyInfo['id'])->update(['party_type'=>$party_type]);
+ }
if($room_type == 2){
@@ -54,6 +54,10 @@ class Renlian extends Api
public function sdksign(){
+ $config = config('renlian');
+ $appid = $config['appid'];
+ $secret = $config['secret'];