作者 lyh

gx

... ... @@ -67,7 +67,7 @@ zFePUMXy1bFghAfzNKlrc5XgH4ixeeMh3cDtU97K
*/
public function deleted_profiles($data){
$param = [
'title'=>$data['title'],
// 'title'=>$data['title'],
'profileKey'=>$data['profileKey'],
];
$url = $this->path.'/api/profiles/profile';
... ...
... ... @@ -107,12 +107,13 @@ class AyrShareController extends BaseController
]);
$info = $ayrShareLogic->ayr_share_info();
$data = [
'title'=>$info['title'],
// 'title'=>$info['title'],
'profileKey'=>$info['profile_key']
];
//发送请求删除社交用户
$ayrShareHelper = new AyrShareHelper();
$res = $ayrShareHelper->deleted_profiles($data);
if($res['status'] == 'fail'){
$this->response('同步删除失败');
}
... ...
... ... @@ -100,7 +100,6 @@ class AyrShareLogic extends BaseLogic
* @time :2023/5/6 10:18
*/
public function ayr_share_del(){
$this->param['id'] = ['in',$this->param['id']];
$rs = $this->model->del($this->param);
if($rs === false){
$this->fail('删出失败');
... ...