作者 郭盛
1 个管道 的构建 通过 耗费 1 秒

修改接口

@@ -885,6 +885,7 @@ class User extends Api @@ -885,6 +885,7 @@ class User extends Api
885 885
886 $keywords = implode(',',$keywords); 886 $keywords = implode(',',$keywords);
887 887
  888 +
888 if(empty($keywords)){ 889 if(empty($keywords)){
889 $key = $keyword; 890 $key = $keyword;
890 }else{ 891 }else{
@@ -915,6 +916,7 @@ class User extends Api @@ -915,6 +916,7 @@ class User extends Api
915 unset($data['content'][$k]); 916 unset($data['content'][$k]);
916 } 917 }
917 } 918 }
  919 + $this->success('SUCCESS',$data);
918 }elseif($res['is_vip'] == 1){ 920 }elseif($res['is_vip'] == 1){
919 $pic_id = $this->request->post('video_id'); 921 $pic_id = $this->request->post('video_id');
920 if(empty($pic_id)){ 922 if(empty($pic_id)){