10 2021 档案

摘要:打开一个网站(注意http协议要一致),按F12打开开发者工具,在Console栏中输入下列代码,点击回车执行 var xhr = new XMLHttpRequest(); xhr.open("GET", "http://xxx.com/orders"); xhr.send(null); xhr. 阅读全文
posted @ 2021-10-27 17:25 子岚天羽卿怜水 阅读(353) 评论(0) 推荐(0)
摘要:composer require wenhainan/thinkphp6-auth 配置 // auth配置 自定义数据表位置在 ./config/auth.php里面 [ 'auth_on' => 1, // 权限开关 1开启;0关闭 'auth_type' => 1, // 认证方式,1为实时认 阅读全文
posted @ 2021-10-25 11:24 子岚天羽卿怜水 阅读(986) 评论(0) 推荐(0)
摘要:tp5 Env::get('root_path'); tp6 $root = app()->getRootPath(); 阅读全文
posted @ 2021-10-19 16:40 子岚天羽卿怜水 阅读(344) 评论(0) 推荐(0)
摘要:php think make:controller mpos@admin/v1/Blog --plain 应用名@一层目录/二层目录/控制器名称 路由 Route::get("test2","admin.v1.Blog/test2"); 验证器 php think make:validate mpo 阅读全文
posted @ 2021-10-11 10:51 子岚天羽卿怜水 阅读(1236) 评论(0) 推荐(0)