摘要:
01、Config中的Services.php代码如下: <?php namespace Config; use App\Libraries\Tx_Auth; use CodeIgniter\Config\BaseService; class Services extends BaseService 阅读全文
摘要:
01、我们在Filters目录,创建一个MyFilter.php文件 <?php namespace App\Filters; use CodeIgniter\Filters\FilterInterface; use CodeIgniter\HTTP\RequestInterface; use Co 阅读全文
摘要:
01、BaseController.php代码如下: <?php namespace App\Controllers; use CodeIgniter\Controller; use CodeIgniter\HTTP\CLIRequest; use CodeIgniter\API\ResponseT 阅读全文
摘要:
01、ModelBase.php代码如下: <?php namespace App\Models; use CodeIgniter\Database\ConnectionInterface; use CodeIgniter\Model; use CodeIgniter\Validation\Vali 阅读全文
摘要:
01、index.ts代码如下: //创建路由并暴露出去 import {createRouter, createWebHistory} from 'vue-router' import Home from '@/view/Home.vue' import About from '@/view/Ab 阅读全文