Fork me on Baidu
上一页 1 ··· 6 7 8 9 10
摘要: 1,前台书写 一个表单 2,控制器的操作 3,注意分页要接受参数 阅读全文
posted @ 2021-01-23 08:11 consideration 阅读(76) 评论(0) 推荐(0)
摘要: 首先要在本地配置 这样填充到数据表中的就是中文了 'locale' => 'zh-CN',第一步 生成 数据工厂 书写数据模型 (要根据 模型 去生成 工厂) php atrisan make:factory LogFactory <?phpuse Faker\Generator as Faker; 阅读全文
posted @ 2021-01-19 21:18 consideration 阅读(96) 评论(0) 推荐(0)
摘要: 在书写队列的时候 首先要配置 (这里以数据库驱动为主) 在env 的文件里 QUEUE_CONNECTION=database 在 config 的queue 文件中 <?phpreturn [ /* | | Default Queue Connection Name | | | Laravel's 阅读全文
posted @ 2021-01-16 11:10 consideration 阅读(244) 评论(0) 推荐(0)
摘要: //页面的展示{__NOLAYOUT__}<html lang="en"><head> <meta charset="UTF-8"> <title>Title</title> <script src="__STATIC__/jq.js"></script></head><body><table bo 阅读全文
posted @ 2020-11-01 22:05 consideration 阅读(81) 评论(0) 推荐(0)
摘要: 使用 apache 放到public目录的.htaccess <IfModule mod_rewrite.c> Options +FollowSymlinks -Multiviews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d Rewri 阅读全文
posted @ 2020-10-31 10:00 consideration 阅读(90) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10