protected function respondWithToken($token) { return response()->json([ 'access_token' => $token, 'token_type' =>...
[图片]我看代码,是有判断跳过json的 protected function redirectTo($request) { if (! $request->expectsJson()) { return route('login')...
DB::beginTransaction(); try { $workorderModel = new Workorder(); $exists = $workorderModel->where('order_id', $...
比如说字段是phone,则显示为手机号码我现在是在FormRequest中定义的,有没有办法全局定义 public function attributes() { return [ 'phone' =...
现在php这么难找吗?坐标深圳,基本都是投了没下文 太难了吧 有一起找的小伙伴吗
共享Session或共享Jwt不知道Jwt算法是否主流的库都一样的Session可能会比较麻烦一些
如果前台使用Api,后台使用传统Session就很好解决那如果是前台使用Api,后台也使用Api,怎以区分呢,假如后台用户也是放在user表里面,通过is_admin来区分 然后怎么知道...
我项目是用Sail安装,但是我重装系统后,如果我电脑没安装PHP和composer,也是没有办法运行sail的,那就是说,我基本上要把环境搭建的差不多,才能用docker sail安装啊,...
社交账号:
我要举报该,理由是: