摘要: 当前的url \Request::getRequestUri() 当前route \Request::route()->getName() 阅读全文
posted @ 2018-09-19 20:36 isafer_wilson 阅读(9086) 评论(0) 推荐(0) 编辑
摘要: $grid->actions(function (Grid\Displayers\Actions $actions) { if ($actions->getKey() == 1) { $actions->disableDelete(); } }); 阅读全文
posted @ 2018-09-19 17:39 isafer_wilson 阅读(1187) 评论(0) 推荐(0) 编辑
摘要: 我用的是Hash加密其他加密也行的哦 主要是下段这段代码,保存前回掉 阅读全文
posted @ 2018-09-19 16:54 isafer_wilson 阅读(1169) 评论(0) 推荐(0) 编辑
摘要: 1 在桌面上执行 git clone (远程仓库地址) 2 把项目放到clone过来的文件中 3 查看当前分支 git branch 4 切换到其他分支开发 git checkout (分支名) 5 修改代码正确并提交到远程仓库 一 : Windows中 ① git status //查看当前代码状 阅读全文
posted @ 2018-09-15 22:37 isafer_wilson 阅读(18128) 评论(0) 推荐(1) 编辑
摘要: 1 git clean n //这个是清除文件预览 git clean -f //强制清除文件 2 git clean -f //强制清除文件 3 git checkout -f <branch> //不建议使用 容易丢失文件 阅读全文
posted @ 2018-09-15 19:13 isafer_wilson 阅读(3127) 评论(0) 推荐(0) 编辑
摘要: 1添加表字段 alter table table1 add transactor varchar(10) not Null; alter table table1 add id int unsigned not Null auto_increment primary key 2.修改某个表的字段类型 阅读全文
posted @ 2018-09-12 11:04 isafer_wilson 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 在 .evn中 加两个配置文件 API_PREFIX=null API_DOMAIN=larbbs.api OK! 补充: 1.laravel框架会首先加载.env内配置文件内容 2. config文件夹下的配置,会在后续覆盖相同配置项,也就是合并 阅读全文
posted @ 2018-09-11 10:11 isafer_wilson 阅读(2630) 评论(0) 推荐(0) 编辑
摘要: useradd usernamesmbpasswd -a username 阅读全文
posted @ 2018-09-07 16:28 isafer_wilson 阅读(133) 评论(0) 推荐(0) 编辑
摘要: ## 第1章 给心急者 ### 1.1 git是什么git是一种版本控制器.更直白说,团队开发时,管理代码用的软件.面试时,容易被问到的一个东西.### 1.2 安装git在Linux,Mac,Win下都可以安装.本文是以Win7系统为环境编写的. Window环境:到 https://git-sc 阅读全文
posted @ 2018-09-06 08:59 isafer_wilson 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 1、git init 2、git add src(这个src意思是添加src目录下的所有文件,有些会说add .. 那就是提交工程下的所有文件,在这我只拿src目录说明,这个时候如果输入 git status 就可以看到要提交的文件变成了黄色,前面还有一个new file) 3、git commit 阅读全文
posted @ 2018-09-05 17:32 isafer_wilson 阅读(240) 评论(0) 推荐(0) 编辑