作者 lyh

gx

@@ -68,8 +68,11 @@ class AyrShareController extends BaseController @@ -68,8 +68,11 @@ class AyrShareController extends BaseController
68 $res = false; 68 $res = false;
69 } 69 }
70 }else{ 70 }else{
  71 + if(!empty($info['bind_platforms'])){
71 $ayrShareLogic->ayr_share_edit(['bind_platforms'=>''],$this->param['id']); 72 $ayrShareLogic->ayr_share_edit(['bind_platforms'=>''],$this->param['id']);
72 - $res = true; 73 + return true;
  74 + }
  75 + $res = false;
73 } 76 }
74 $this->response('success',Code::SUCCESS,['is_true'=>$res]); 77 $this->response('success',Code::SUCCESS,['is_true'=>$res]);
75 } 78 }