作者 lyh

gx

... ... @@ -29,9 +29,13 @@ class BaseController extends Controller
{
$this->request = $request;
$this->param = $this->request->all();
$this->user = Session::get('manage');
$this->uid = $this->user['id'];
$this->token = $this->request->header('token');
$this->get_param();
if(!empty($this->token) && !empty(Cache::get($this->token))){
$info = Cache::get($this->token);
$this->user = $info;
$this->uid = $info['id'];
}
}
... ...
... ... @@ -50,6 +50,18 @@ class GscLogic extends BaseLogic
}
/**
* @remark :gsc账户详情
* @name :GscRead
* @author :lyh
* @method :post
* @time :2023/6/19 17:07
*/
public function GscRead(){
$info = $this->model->read($this->param);
return $this->success($info);
}
/**
* @remark :更新账号列表
* @name :save
* @author :lyh
... ...