上一页 1 2 3 4 5 6 ··· 48 下一页
摘要: 一、效果图 二、地址 https://gitee.com/yang1015/lumen-rbac 阅读全文
posted @ 2023-12-25 09:45 样子2018 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 一、下载 /** 树形表格3.x Created by wangfan on 2020-05-12 https://gitee.com/whvse/treetable-lay */ layui.define(['laytpl', 'form', 'util'], function (exports) 阅读全文
posted @ 2023-12-22 15:02 样子2018 阅读(299) 评论(0) 推荐(0) 编辑
摘要: 一、文档 https://learnku.com/docs/laravel/6.x/eloquent-relationships/5177#d9e83d 二、实例 1、表结构 admin表 role表 auth表 role_auth表 2、模型 admin.php <?php /** * Creat 阅读全文
posted @ 2023-11-11 10:49 样子2018 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 一、配置 1、找到同版本的laravel下的\vendor\laravel\framework\src\Illuminate\Cookie目录下的文件拷贝到lumen的\vendor\illuminate\cookie目录下 二、使用 $cookie = \Symfony\Component\Htt 阅读全文
posted @ 2023-11-11 09:31 样子2018 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 一、设置 1、新建Libs/function.php 2、在app.php中引入function.php 阅读全文
posted @ 2023-10-20 14:28 样子2018 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 一、配置 1、在\app\bootstrap\app.php中取消注释 $app->withFacades(); $app->withEloquent(); $app->routeMiddleware([ 'auth' => App\Http\Middleware\Authenticate::cla 阅读全文
posted @ 2023-10-13 10:20 样子2018 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 一、基本操作 1、/database/migrations/ 目录下生成一个php文件,这个文件主要包括两个函数,在up()函数中根据你的需求定义数据库字段 php artisan make:migration create_users_table --create=users <?php use 阅读全文
posted @ 2023-10-13 10:00 样子2018 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 一、修改Lumen 1、打开bootstrap/app.php,在相应位置添加注册SessionServiceProvider $app->register(Illuminate\Session\SessionServiceProvider::class); 2、同样在bootstrap/app.p 阅读全文
posted @ 2023-10-12 16:11 样子2018 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 一、服务商代开发小程序 文档:https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/product/how_to_dev.html 二、extAppid 的开发调试 文档:https://developers 阅读全文
posted @ 2023-09-16 16:13 样子2018 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 一、示例代码 <html> <head></head> <body> <script src="jquery.js"></script> <script> const login = async function(){ var a = await new Promise((resolve, reje 阅读全文
posted @ 2023-07-31 16:39 样子2018 阅读(90) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 48 下一页