摘要: 01、BaseController.php代码如下: <?php namespace App\Controllers; use CodeIgniter\Controller; use CodeIgniter\HTTP\CLIRequest; use CodeIgniter\API\ResponseT 阅读全文
posted @ 2024-08-31 14:22 像一棵海草海草海草 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 01、ModelBase.php代码如下: <?php namespace App\Models; use CodeIgniter\Database\ConnectionInterface; use CodeIgniter\Model; use CodeIgniter\Validation\Vali 阅读全文
posted @ 2024-08-31 13:30 像一棵海草海草海草 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 01、在composer.json中增加一行调用jwt的代码: { "name": "codeigniter4/appstarter", "description": "CodeIgniter4 starter app", "license": "MIT", "type": "project", " 阅读全文
posted @ 2024-08-31 01:07 像一棵海草海草海草 阅读(28) 评论(0) 推荐(0) 编辑