上一页 1 2 3 4 5 6 7 8 ··· 18 下一页
摘要: Ctrl+1 欢迎界面 Ctrl+2 编辑界面 Ctrl+3 输出界面 I O 编辑开始结束位置 阅读全文
posted @ 2019-10-02 09:27 cicarius 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 错误代码: 修改: `$res = Category::where('cate_id',$id) delete();` 阅读全文
posted @ 2019-08-17 07:53 cicarius 阅读(1801) 评论(0) 推荐(0) 编辑
摘要: When issuing a mass update via Eloquent, the saving, saved, updating, and updated model events will not be fired for the updated models. This is becau 阅读全文
posted @ 2019-08-16 16:25 cicarius 阅读(1714) 评论(0) 推荐(0) 编辑
摘要: 后台Model方法: Controller方法: 前端使用了layerUI框架 阅读全文
posted @ 2019-08-16 10:22 cicarius 阅读(299) 评论(0) 推荐(0) 编辑
摘要: http://layer.layui.com/ 阅读全文
posted @ 2019-08-16 09:07 cicarius 阅读(167) 评论(0) 推荐(0) 编辑
摘要: ``` cate_id }})" class="order" value="{{ $category->cate_order }}"> ``` ``` function changeOrder(obj,cate_id){ var cate_order=$(obj).val(); $.post("{{ url('admin/category/changeorder') }}",{'_token':" 阅读全文
posted @ 2019-08-16 08:52 cicarius 阅读(720) 评论(0) 推荐(0) 编辑
摘要: 原始代码 修改jquery,传入token值 阅读全文
posted @ 2019-08-16 08:14 cicarius 阅读(6294) 评论(0) 推荐(0) 编辑
摘要: 条件表达式 三元操作符 small = x if x<y else y 断言(assert) assert称为断言,当关键字后面的条件为假时候,出现自动崩溃并抛出AssertionError的异常 如 ## for循环 ```py favor = "cicarius" for i in favor: 阅读全文
posted @ 2019-08-15 18:43 cicarius 阅读(323) 评论(0) 推荐(0) 编辑
摘要: 安装插件 控制台内安装 打开cmd输入apm install check来检测一下是否行得通 提示Checking for native build tools done,说明没有问题。 输入apm install 要安装的插件名称进行安装,能否成功要拼人品 手动安装 先设置一下npm的国内镜像源, 阅读全文
posted @ 2019-08-15 11:53 cicarius 阅读(1681) 评论(0) 推荐(1) 编辑
摘要: 01.创建文章分类表 创建category表 'CREATE TABLE ( int(10) unsigned NOT NULL AUTO_INCREMENT, varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, varchar(255) COLLAT 阅读全文
posted @ 2019-08-14 18:15 cicarius 阅读(587) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 18 下一页