作者 lyh

gx

... ... @@ -62,12 +62,14 @@ class AyrShareController extends BaseController
if(isset($share_info['activeSocialAccounts'])){
$str = json_encode($share_info['activeSocialAccounts']);
if($str != $info['bind_platforms']){
$res = $ayrShareLogic->ayr_share_edit(['bind_platforms'=>$str],$this->param['id']);
$ayrShareLogic->ayr_share_edit(['bind_platforms'=>$str],$this->param['id']);
$res = true;
}else{
$res = false;
}
}else{
$res = $ayrShareLogic->ayr_share_edit(['bind_platforms'=>''],$this->param['id']);
$ayrShareLogic->ayr_share_edit(['bind_platforms'=>''],$this->param['id']);
$res = true;
}
$this->response('success',Code::SUCCESS,['is_true'=>$res]);
}
... ...