摘要: 1、插入数据库,获取自动编号,作为redis键名: function tianjia() { $model = model(MqModel::class); $data = ['rs' => 1]; $model->insert($data); //插入 $id = $model->getInser 阅读全文
posted @ 2024-02-01 12:47 哆啦啊梦 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 网站刚打开就报错:http://localhost:8080/?debugbar net::ERR_CONNECTION_REFUSED 检查到是由于base_url没设置的问题,修改APP\Config\App.php里的$baseURL为自己的域名即可 public string $baseUR 阅读全文
posted @ 2024-02-01 12:14 哆啦啊梦 阅读(2) 评论(0) 推荐(0) 编辑