作者 lyh

gx生成评论

@@ -146,11 +146,11 @@ class AyrShareController extends BaseController @@ -146,11 +146,11 @@ class AyrShareController extends BaseController
146 try { 146 try {
147 $res = $ayrShareHelper->post_generate_jwt($data); 147 $res = $ayrShareHelper->post_generate_jwt($data);
148 if($res['status'] == 'fail'){ 148 if($res['status'] == 'fail'){
149 - $ayrShareLogic->ayr_share_edit(['profile_key'=>null,'bind_platforms'=>null,'ref_id'=>null],['id'=>$info['id']]); 149 + $ayrShareLogic->ayr_share_edit(['profile_key'=>null,'bind_platforms'=>null,'ref_id'=>null],$info['id']);
150 $this->response('当前key值已过期,请刷新重新绑定',Code::USER_ERROR); 150 $this->response('当前key值已过期,请刷新重新绑定',Code::USER_ERROR);
151 } 151 }
152 }catch (\Exception $e){ 152 }catch (\Exception $e){
153 - $ayrShareLogic->ayr_share_edit(['profile_key'=>null,'bind_platforms'=>null,'ref_id'=>null],['id'=>$info['id']]); 153 + $ayrShareLogic->ayr_share_edit(['profile_key'=>null,'bind_platforms'=>null,'ref_id'=>null],$info['id']);
154 $this->response('当前key值已过期,请刷新重新绑定',Code::USER_ERROR); 154 $this->response('当前key值已过期,请刷新重新绑定',Code::USER_ERROR);
155 } 155 }
156 $this->response('success',Code::SUCCESS,$res); 156 $this->response('success',Code::SUCCESS,$res);