上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 30 下一页

2019年11月26日

laravel-admin Field type [editor] does not exist.

摘要: 把App/admin中的bootstrap.php 里边的Encore\Admin\Form::forget(['map', 'editor']);注释掉就行了 解决网址:http://tieba.baidu.com/p/6021404952 文档详细信息网址:https://laravel-adm 阅读全文

posted @ 2019-11-26 09:53 潇潇六月雨 阅读(2073) 评论(0) 推荐(0)

2019年11月25日

laravel-admin 表单提交报错

摘要: Method App\Admin\Controllers\GoodsSpecController::store does not exist. Method App\Admin\Controllers\GoodsSpecController::update does not exist. 解决: 方 阅读全文

posted @ 2019-11-25 12:58 潇潇六月雨 阅读(1683) 评论(0) 推荐(0)

laravel-admin利用ModelTree实现对分类信息的管理

摘要: 根据laravel的基本操作步骤依次完成如下操作:主要是参考laravel-admin内置的Menu菜单管理的功能,利用ModelTree实现业务中的Tree数据管理。 1. 创建模型 php artisan make:model Models/Category 2. 创建迁移文件 php arti 阅读全文

posted @ 2019-11-25 11:31 潇潇六月雨 阅读(1112) 评论(0) 推荐(0)

2019年11月15日

laravel-admin后台框架基本使用

摘要: 建立控制器 在app/Admin/Controllers新建对应的控制器来管理某个数据表。控制器例子: <?php namespace App\Admin\Controllers; use Encore\Admin\Form; use Encore\Admin\Grid; use Encore\Ad 阅读全文

posted @ 2019-11-15 16:40 潇潇六月雨 阅读(1622) 评论(0) 推荐(0)

laravel 添加筛选方式

摘要: protected function grid() { return Admin::grid(Client::class, function (Grid $grid) { $grid->id('ID')->sortable(); $grid->filter(function($filter){ $f 阅读全文

posted @ 2019-11-15 16:25 潇潇六月雨 阅读(693) 评论(0) 推荐(0)

laravel的model

摘要: 1.创建模型 $ php artisan make:model Models/Issue 2.模型的白名单机制,用于赋值 class Issue extends Model { //指定表名 protected $table = 'article2'; //指定主键 protected $prima 阅读全文

posted @ 2019-11-15 14:29 潇潇六月雨 阅读(506) 评论(0) 推荐(0)

2019年11月13日

ThinkPHP5.0 实现 app支付宝支付功能

摘要: 前几天做APP开发,用到了支付宝接口,简单写一下我做的APP接入支付宝支付的过程,希望对做APP支付宝支付的童鞋有帮助, 不懂的可以先去支付平台看一下支付宝支付的文档,我是下的demo看的,这个是用tp5.0做的,先上图: 至于支付接口的接口包文件自己下吧,这个我就不提供地址链接了,这个支付接口我用 阅读全文

posted @ 2019-11-13 14:22 潇潇六月雨 阅读(252) 评论(0) 推荐(0)

PHP实现app唤起支付宝支付代码

摘要: 本文主要和大家分享PHP实现app唤起支付宝支付代码,希望能帮助到大家。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 阅读全文

posted @ 2019-11-13 14:11 潇潇六月雨 阅读(892) 评论(0) 推荐(0)

2019年11月7日

引用(ajaxfileupload.js) ajaxfileupload.js报这错jQuery.handleError is not a function

摘要: jQuery.handleError is not a function 原因是,经测试handlerError只在jquery-1.4.2之前的版本中存在,jquery-1.6 和1.7中都没有这个函数了,因此在1.4.2中将这个函数复制到了ajaxFileUpload.js中,问题解决 hand 阅读全文

posted @ 2019-11-07 17:47 潇潇六月雨 阅读(272) 评论(0) 推荐(0)

input file里的JQ change() 事件的只生效一次

摘要: 文件选择框的onchange事件只在第一次改变时生效,以后再选择文件不会触发onchange事件。 解决方法1:用jQuery的live代替直接使用change。 错误代码: $("#UploadFile").change(function(){ //do someing }); 正确代码: $(" 阅读全文

posted @ 2019-11-07 17:41 潇潇六月雨 阅读(700) 评论(0) 推荐(0)

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 30 下一页

导航

点击右上角即可分享
微信分享提示