作者 lyh

ayr绑定账号返回

... ... @@ -64,18 +64,13 @@ class AyrShareController extends BaseController
$str = json_encode($share_info['activeSocialAccounts']);
if($str != $info['bind_platforms']){
$ayrShareLogic->ayr_share_edit(['bind_platforms'=>$str],$this->param['id']);
$res = true;
}else{
$res = false;
}
}else{
if(!empty($info['bind_platforms'])){
$ayrShareLogic->ayr_share_edit(['bind_platforms'=>''],$this->param['id']);
return true;
}
$res = false;
}
$this->response('success',Code::SUCCESS,['is_true'=>$res]);
$this->response('success',Code::SUCCESS,$share_info['activeSocialAccounts'] ?? []);
}
/**
* @name :(创建ayr_share账户)create_account
... ...