摘要: 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) 编辑