wangxiao

Results 7 comments of wangxiao

## in laravel 5.5 ### AdminUserController: ```php $this->repository->setPresenter(AdminUserPresenter::class); $this->repository->pushCriteria(AdminUserCriteria::class); return response()->json($this->repository->search($request)); ``` ### AdminUserRepository : ```php public function search(Request $request) { $this->applyCriteria(); //important $condition = $this->model; $data['total'] = $condition->count(); $data['data']...

There is a problem with carrying the data load template through c.HTML. If there is an error in the submission of a form, return to the previous page, and the...

hi,I have the same problem. ```golang func (LoginController) Set(c *gin.Context) { sessionToken,_ := uuid.NewV4() //d6db0562-42c1-4bb2-b73e-988357fa0e6d session := sessions.Default(c) session.Set(sessionToken.String(),map[string]string{"name":"cai xu kun"}) _ = session.Save() //important c.SetCookie("ginex_session",sessionToken.String(),0,"/","localhost",false,true) } func (LoginController) Get(c...

Please delete all data tables before running ```shell composer dump-autoload php artisan migrate --seed ```

找到方法了: 右上角FE插件图标,按 `F12` -> `Application` -> `localStorage`