正在显示
3 个修改的文件
包含
3 行增加
和
3 行删除
| @@ -67,7 +67,7 @@ zFePUMXy1bFghAfzNKlrc5XgH4ixeeMh3cDtU97K | @@ -67,7 +67,7 @@ zFePUMXy1bFghAfzNKlrc5XgH4ixeeMh3cDtU97K | ||
| 67 | */ | 67 | */ |
| 68 | public function deleted_profiles($data){ | 68 | public function deleted_profiles($data){ |
| 69 | $param = [ | 69 | $param = [ |
| 70 | - 'title'=>$data['title'], | 70 | +// 'title'=>$data['title'], |
| 71 | 'profileKey'=>$data['profileKey'], | 71 | 'profileKey'=>$data['profileKey'], |
| 72 | ]; | 72 | ]; |
| 73 | $url = $this->path.'/api/profiles/profile'; | 73 | $url = $this->path.'/api/profiles/profile'; |
| @@ -107,12 +107,13 @@ class AyrShareController extends BaseController | @@ -107,12 +107,13 @@ class AyrShareController extends BaseController | ||
| 107 | ]); | 107 | ]); |
| 108 | $info = $ayrShareLogic->ayr_share_info(); | 108 | $info = $ayrShareLogic->ayr_share_info(); |
| 109 | $data = [ | 109 | $data = [ |
| 110 | - 'title'=>$info['title'], | 110 | +// 'title'=>$info['title'], |
| 111 | 'profileKey'=>$info['profile_key'] | 111 | 'profileKey'=>$info['profile_key'] |
| 112 | ]; | 112 | ]; |
| 113 | //发送请求删除社交用户 | 113 | //发送请求删除社交用户 |
| 114 | $ayrShareHelper = new AyrShareHelper(); | 114 | $ayrShareHelper = new AyrShareHelper(); |
| 115 | $res = $ayrShareHelper->deleted_profiles($data); | 115 | $res = $ayrShareHelper->deleted_profiles($data); |
| 116 | + | ||
| 116 | if($res['status'] == 'fail'){ | 117 | if($res['status'] == 'fail'){ |
| 117 | $this->response('同步删除失败'); | 118 | $this->response('同步删除失败'); |
| 118 | } | 119 | } |
| @@ -100,7 +100,6 @@ class AyrShareLogic extends BaseLogic | @@ -100,7 +100,6 @@ class AyrShareLogic extends BaseLogic | ||
| 100 | * @time :2023/5/6 10:18 | 100 | * @time :2023/5/6 10:18 |
| 101 | */ | 101 | */ |
| 102 | public function ayr_share_del(){ | 102 | public function ayr_share_del(){ |
| 103 | - $this->param['id'] = ['in',$this->param['id']]; | ||
| 104 | $rs = $this->model->del($this->param); | 103 | $rs = $this->model->del($this->param); |
| 105 | if($rs === false){ | 104 | if($rs === false){ |
| 106 | $this->fail('删出失败'); | 105 | $this->fail('删出失败'); |
-
请 注册 或 登录 后发表评论