|
@@ -429,6 +429,10 @@ class Match extends Api
|
|
|
//语音匹配
|
|
|
public function getaudiouser(){
|
|
|
|
|
|
+ if(config('site.index_match_audio_switch') != 1){
|
|
|
+ $this->error('该功能暂未开启');
|
|
|
+ }
|
|
|
+
|
|
|
//给出备选用户
|
|
|
$map = [
|
|
|
'user.status' =>1, //未封禁用户
|
|
@@ -478,6 +482,9 @@ class Match extends Api
|
|
|
//视频匹配
|
|
|
public function getvideouser(){
|
|
|
|
|
|
+ if(config('site.index_match_video_switch') != 1){
|
|
|
+ $this->error('该功能暂未开启');
|
|
|
+ }
|
|
|
//给出备选用户
|
|
|
$map = [
|
|
|
'user.status' =>1, //未封禁用户
|
|
@@ -525,6 +532,7 @@ class Match extends Api
|
|
|
}
|
|
|
|
|
|
//聊天匹配
|
|
|
+ //没有用到
|
|
|
public function gettypinguser(){
|
|
|
|
|
|
//给出备选用户
|