<?php

use think\migration\Migrator;
use think\migration\db\Column;

class CreateSysRestfulApi extends Migrator
{
    /**
     * Change Method.
     *
     * Write your reversible migrations using this method.
     *
     * More information on writing migrations is available here:
     * http://docs.phinx.org/en/latest/migrations.html#the-abstractmigration-class
     *
     * The following commands can be used in this method and Phinx will
     * automatically reverse them when rolling back:
     *
     *    createTable
     *    renameTable
     *    addColumn
     *    renameColumn
     *    addIndex
     *    addForeignKey
     *
     * Remember to call "create()" or "update()" and NOT "save()" when working
     * with the Table class.
     */
    public function change()
    {
        $table = $this->table('sys_restful_api', ['engine' => 'MyISAM', 'collation' => 'utf8mb4_general_ci', 'comment' => '系统接口表']);
        $table->addColumn('name', 'string', ['limit' => 64, 'default' => '', 'comment' => '接口名称'])
            ->addColumn('module', 'string', ['limit' => 32, 'default' => '', 'comment' => '模块名'])
            ->addColumn('layer', 'string', ['limit' => 15, 'default' => '', 'comment' => '控制器分级名'])
            ->addColumn('controller', 'string', ['limit' => 64, 'default' => '', 'comment' => '控制器名'])
            ->addColumn('action', 'string', ['limit' => 64, 'default' => '', 'comment' => '方法名'])
            ->addColumn('rule', 'string', ['limit' => 128, 'default' => '', 'comment' => '接口路由'])
            ->addColumn('method', 'string', ['limit' => 8, 'default' => '', 'comment' => '请求方式'])
            ->addColumn('desc', 'string', ['limit' => 255, 'default' => '', 'comment' => '接口描述'])
            ->addColumn('created_at', 'timestamp', ['null' => false,'default' => 'CURRENT_TIMESTAMP', 'comment' => '创建时间'])
            ->addColumn('updated_at', 'timestamp', ['null' => true,'default' => 'CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP', 'comment' => '更新时间'])
            ->create();

        // 初始化数据
        $table->insert([
            ['name' => '登录接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'UserCenter', 'action' => 'login', 'rule' => 'v1/user/login', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:16', 'updated_at' => '2025-03-18 14:24:02'],
            ['name' => '获取验证码', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Captcha', 'action' => 'index', 'rule' => 'v1/user/captcha', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:16', 'updated_at' => '2025-03-18 14:24:02'],
            ['name' => '获取用户菜单权限', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'User', 'action' => 'menu', 'rule' => 'v1/user/:id/menu', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:16', 'updated_at' => '2025-03-18 14:24:02'],
            ['name' => '退出接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'UserCenter', 'action' => 'logout', 'rule' => 'v1/user/logout', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:16', 'updated_at' => '2025-03-18 14:24:02'],
            ['name' => '语言列表接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Language', 'action' => 'list', 'rule' => 'v1/language/list', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:16', 'updated_at' => '2025-03-18 14:24:02'],
            ['name' => '语言切换接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Language', 'action' => 'cutover', 'rule' => 'v1/language/cutover/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:16', 'updated_at' => '2025-03-18 14:24:02'],
            ['name' => '国家列表接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Country', 'action' => 'list', 'rule' => 'v1/country/list', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:17', 'updated_at' => '2025-03-18 14:24:02'],
            ['name' => '获取系统信息接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'System', 'action' => 'info', 'rule' => 'v1/system/info', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:17', 'updated_at' => '2025-03-18 14:24:02'],
            ['name' => '获取系统前台各模块url', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'System', 'action' => 'urls', 'rule' => 'v1/system/urls', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:17', 'updated_at' => '2025-03-18 14:24:02'],
            ['name' => '文章分类分页数据接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ArticleCategory', 'action' => 'index', 'rule' => 'v1/article/category/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:17', 'updated_at' => '2025-03-18 14:24:04'],
            ['name' => '文章分类列表数据接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ArticleCategory', 'action' => 'list', 'rule' => 'v1/article/categorys', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:17', 'updated_at' => '2025-03-18 14:24:04'],
            ['name' => '文章分类数据新增接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ArticleCategory', 'action' => 'save', 'rule' => 'v1/article/category/save', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:17', 'updated_at' => '2025-03-18 14:24:04'],
            ['name' => '文章分类数据更新接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ArticleCategory', 'action' => 'update', 'rule' => 'v1/article/category/update/:id', 'method' => 'PUT', 'desc' => '', 'created_at' => '2025-03-18 10:54:17', 'updated_at' => '2025-03-18 14:24:04'],
            ['name' => '文章分类数据删除接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ArticleCategory', 'action' => 'delete', 'rule' => 'v1/article/category/delete/:id', 'method' => 'DELETE', 'desc' => '', 'created_at' => '2025-03-18 10:54:17', 'updated_at' => '2025-03-18 14:24:04'],
            ['name' => '文章分类数据详细接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ArticleCategory', 'action' => 'read', 'rule' => 'v1/article/category/read/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:17', 'updated_at' => '2025-03-18 14:24:04'],
            ['name' => '设置排序值接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ArticleCategory', 'action' => 'sort', 'rule' => 'v1/article/category/sort/:id', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:17', 'updated_at' => '2025-03-18 14:24:04'],
            ['name' => '评论分页接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ArticleLeaveMessage', 'action' => 'index', 'rule' => 'v1/article/message/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:17', 'updated_at' => '2025-03-18 14:24:04'],
            ['name' => '评论审核/反审核接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ArticleLeaveMessage', 'action' => 'audit', 'rule' => 'v1/article/message/audit/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:17', 'updated_at' => '2025-03-18 14:24:04'],
            ['name' => '评论删除接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ArticleLeaveMessage', 'action' => 'delete', 'rule' => 'v1/article/message/delete/:id', 'method' => 'DELETE', 'desc' => '', 'created_at' => '2025-03-18 10:54:17', 'updated_at' => '2025-03-18 14:24:04'],
            ['name' => '评论导出接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ArticleLeaveMessage', 'action' => 'export', 'rule' => 'v1/article/message/export', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:17', 'updated_at' => '2025-03-18 14:24:04'],
            ['name' => '文章回收站分页接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ArticleTrash', 'action' => 'index', 'rule' => 'v1/article/trash/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:17', 'updated_at' => '2025-03-18 14:24:04'],
            ['name' => '文章恢复接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ArticleTrash', 'action' => 'restore', 'rule' => 'v1/article/trash/restore/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:18', 'updated_at' => '2025-03-18 14:24:04'],
            ['name' => '文章删除接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ArticleTrash', 'action' => 'delete', 'rule' => 'v1/article/trash/delete/:id', 'method' => 'DELETE', 'desc' => '', 'created_at' => '2025-03-18 10:54:18', 'updated_at' => '2025-03-18 14:24:04'],
            ['name' => '文章分页接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Article', 'action' => 'index', 'rule' => 'v1/article/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:18', 'updated_at' => '2025-03-18 14:24:03'],
            ['name' => '文章详情接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Article', 'action' => 'read', 'rule' => 'v1/article/read/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:18', 'updated_at' => '2025-03-18 14:24:03'],
            ['name' => '文章新增接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Article', 'action' => 'save', 'rule' => 'v1/article/save', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:18', 'updated_at' => '2025-03-18 14:24:03'],
            ['name' => '文章更新接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Article', 'action' => 'update', 'rule' => 'v1/article/update/:id', 'method' => 'PUT', 'desc' => '', 'created_at' => '2025-03-18 10:54:18', 'updated_at' => '2025-03-18 14:24:04'],
            ['name' => '文章删除接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Article', 'action' => 'delete', 'rule' => 'v1/article/delete/:id', 'method' => 'DELETE', 'desc' => '', 'created_at' => '2025-03-18 10:54:18', 'updated_at' => '2025-03-18 14:24:04'],
            ['name' => '文章导出接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Article', 'action' => 'export', 'rule' => 'v1/article/export', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:18', 'updated_at' => '2025-03-18 14:24:04'],
            ['name' => '设置排序值接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Article', 'action' => 'sort', 'rule' => 'v1/article/sort/:id', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:18', 'updated_at' => '2025-03-18 14:24:04'],
            ['name' => '横幅（分类）列表接口(下拉框场景)', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Banner', 'action' => 'list', 'rule' => 'v1/banner/list', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:18', 'updated_at' => '2025-03-18 14:24:04'],
            ['name' => '横幅（分类）分页接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Banner', 'action' => 'index', 'rule' => 'v1/banner/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:18', 'updated_at' => '2025-03-18 14:24:04'],
            ['name' => '横幅（分类）详情接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Banner', 'action' => 'read', 'rule' => 'v1/banner/read/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:18', 'updated_at' => '2025-03-18 14:24:04'],
            ['name' => '横幅（分类）新增接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Banner', 'action' => 'save', 'rule' => 'v1/banner/save', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:18', 'updated_at' => '2025-03-18 14:24:04'],
            ['name' => '横幅（分类）更新接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Banner', 'action' => 'update', 'rule' => 'v1/banner/update/:id', 'method' => 'PUT', 'desc' => '', 'created_at' => '2025-03-18 10:54:18', 'updated_at' => '2025-03-18 14:24:04'],
            ['name' => '横幅（分类）删除接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Banner', 'action' => 'delete', 'rule' => 'v1/banner/delete/:id', 'method' => 'DELETE', 'desc' => '', 'created_at' => '2025-03-18 10:54:18', 'updated_at' => '2025-03-18 14:24:04'],
            ['name' => '横幅项分页列表', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'BannerItem', 'action' => 'index', 'rule' => 'v1/banner/items/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:19', 'updated_at' => '2025-03-18 14:24:05'],
            ['name' => '横幅项详情接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'BannerItem', 'action' => 'read', 'rule' => 'v1/banner/items/read/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:19', 'updated_at' => '2025-03-18 14:24:05'],
            ['name' => '横幅新增接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'BannerItem', 'action' => 'save', 'rule' => 'v1/banner/items/save', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:19', 'updated_at' => '2025-03-18 14:24:05'],
            ['name' => '横幅更新接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'BannerItem', 'action' => 'update', 'rule' => 'v1/banner/items/update/:id', 'method' => 'PUT', 'desc' => '', 'created_at' => '2025-03-18 10:54:19', 'updated_at' => '2025-03-18 14:24:05'],
            ['name' => '横幅删除接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'BannerItem', 'action' => 'delete', 'rule' => 'v1/banner/items/delete/:id', 'method' => 'DELETE', 'desc' => '', 'created_at' => '2025-03-18 10:54:19', 'updated_at' => '2025-03-18 14:24:05'],
            ['name' => '设置排序值接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'BannerItem', 'action' => 'sort', 'rule' => 'v1/banner/items/sort/:id', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:19', 'updated_at' => '2025-03-18 14:24:05'],
            ['name' => '横幅导出接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'BannerItem', 'action' => 'export', 'rule' => 'v1/banner/items/export', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:19', 'updated_at' => '2025-03-18 14:24:05'],
            ['name' => '图片上传接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Upload', 'action' => 'image', 'rule' => 'v1/images/:module/upload', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:19', 'updated_at' => '2025-03-18 14:24:03'],
            ['name' => '视频分类分页接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'VideoCategory', 'action' => 'index', 'rule' => 'v1/video/category/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:19', 'updated_at' => '2025-03-18 14:24:03'],
            ['name' => '视频分类列表接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'VideoCategory', 'action' => 'list', 'rule' => 'v1/video/categorys', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:19', 'updated_at' => '2025-03-18 14:24:03'],
            ['name' => '视频分类详情接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'VideoCategory', 'action' => 'read', 'rule' => 'v1/video/category/read/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:19', 'updated_at' => '2025-03-18 14:24:03'],
            ['name' => '视频分类新增接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'VideoCategory', 'action' => 'save', 'rule' => 'v1/video/category/save', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:19', 'updated_at' => '2025-03-18 14:24:03'],
            ['name' => '视频分类更新接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'VideoCategory', 'action' => 'update', 'rule' => 'v1/video/category/update/:id', 'method' => 'PUT', 'desc' => '', 'created_at' => '2025-03-18 10:54:19', 'updated_at' => '2025-03-18 14:24:03'],
            ['name' => '视频分类设置排序值接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'VideoCategory', 'action' => 'sort', 'rule' => 'v1/video/category/sort/:id', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:19', 'updated_at' => '2025-03-18 14:24:03'],
            ['name' => '视频分类删除接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'VideoCategory', 'action' => 'delete', 'rule' => 'v1/video/category/delete/:id', 'method' => 'DELETE', 'desc' => '', 'created_at' => '2025-03-18 10:54:19', 'updated_at' => '2025-03-18 14:24:03'],
            ['name' => '视频回收站分页数据接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'VideoTrash', 'action' => 'index', 'rule' => 'v1/video/trash/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:20', 'updated_at' => '2025-03-18 14:24:03'],
            ['name' => '视频回收站恢复操作接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'VideoTrash', 'action' => 'restore', 'rule' => 'v1/video/trash/restore/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:20', 'updated_at' => '2025-03-18 14:24:03'],
            ['name' => '视频回收站删除操作接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'VideoTrash', 'action' => 'delete', 'rule' => 'v1/video/trash/delete/:id', 'method' => 'DELETE', 'desc' => '', 'created_at' => '2025-03-18 10:54:20', 'updated_at' => '2025-03-18 14:24:03'],
            ['name' => '视频上传接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Upload', 'action' => 'video', 'rule' => 'v1/video/:module/upload', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:20', 'updated_at' => '2025-03-18 14:24:03'],
            ['name' => '视频分页数据接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Video', 'action' => 'index', 'rule' => 'v1/video/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:20', 'updated_at' => '2025-03-18 14:24:03'],
            ['name' => '视频信息详情接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Video', 'action' => 'read', 'rule' => 'v1/video/read/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:20', 'updated_at' => '2025-03-18 14:24:03'],
            ['name' => '视频信息新增接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Video', 'action' => 'save', 'rule' => 'v1/video/save', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:20', 'updated_at' => '2025-03-18 14:24:03'],
            ['name' => '视频信息更新接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Video', 'action' => 'update', 'rule' => 'v1/video/update/:id', 'method' => 'PUT', 'desc' => '', 'created_at' => '2025-03-18 10:54:20', 'updated_at' => '2025-03-18 14:24:03'],
            ['name' => '视频信息删除接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Video', 'action' => 'delete', 'rule' => 'v1/video/delete/:id', 'method' => 'DELETE', 'desc' => '', 'created_at' => '2025-03-18 10:54:20', 'updated_at' => '2025-03-18 14:24:03'],
            ['name' => '视频信息导出接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Video', 'action' => 'export', 'rule' => 'v1/video/export', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:20', 'updated_at' => '2025-03-18 14:24:03'],
            ['name' => '产品分类树接口(下拉框场景)', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductCategory', 'action' => 'categorys', 'rule' => 'v1/product/categorys', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:20', 'updated_at' => '2025-03-18 14:24:05'],
            ['name' => '产品分类树接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductCategory', 'action' => 'index', 'rule' => 'v1/product/category/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:20', 'updated_at' => '2025-03-18 14:24:05'],
            ['name' => '产品分类详细接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductCategory', 'action' => 'read', 'rule' => 'v1/product/category/read/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:20', 'updated_at' => '2025-03-18 14:24:06'],
            ['name' => '产品分类更新接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductCategory', 'action' => 'update', 'rule' => 'v1/product/category/update/:id', 'method' => 'PUT', 'desc' => '', 'created_at' => '2025-03-18 10:54:20', 'updated_at' => '2025-03-18 14:24:06'],
            ['name' => '产品分类新增接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductCategory', 'action' => 'save', 'rule' => 'v1/product/category/save', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:20', 'updated_at' => '2025-03-18 14:24:06'],
            ['name' => '产品分类删除操作', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductCategory', 'action' => 'delete', 'rule' => 'v1/product/category/delete/:id', 'method' => 'DELETE', 'desc' => '', 'created_at' => '2025-03-18 10:54:21', 'updated_at' => '2025-03-18 14:24:06'],
            ['name' => '设置排序值接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductCategory', 'action' => 'sort', 'rule' => 'v1/product/category/sort/:id', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:21', 'updated_at' => '2025-03-18 14:24:06'],
            ['name' => '设置是否显示接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductCategory', 'action' => 'show', 'rule' => 'v1/product/category/show/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:21', 'updated_at' => '2025-03-18 14:24:06'],
            ['name' => '成本系统分类树接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductTcoCategory', 'action' => 'tree', 'rule' => 'v1/product/category/tco/tree', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:21', 'updated_at' => '2025-03-18 14:24:05'],
            ['name' => '产品属性分页接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductAttr', 'action' => 'index', 'rule' => 'v1/product/attr/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:21', 'updated_at' => '2025-03-18 14:24:05'],
            ['name' => '产品属性详细接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductAttr', 'action' => 'read', 'rule' => 'v1/product/attr/read/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:21', 'updated_at' => '2025-03-18 14:24:05'],
            ['name' => '产品属性新增接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductAttr', 'action' => 'save', 'rule' => 'v1/product/attr/save', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:21', 'updated_at' => '2025-03-18 14:24:05'],
            ['name' => '产品属性更新操作', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductAttr', 'action' => 'update', 'rule' => 'v1/product/attr/update/:id', 'method' => 'PUT', 'desc' => '', 'created_at' => '2025-03-18 10:54:21', 'updated_at' => '2025-03-18 14:24:05'],
            ['name' => '产品属性删除接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductAttr', 'action' => 'delete', 'rule' => 'v1/product/attr/delete/:id', 'method' => 'DELETE', 'desc' => '', 'created_at' => '2025-03-18 10:54:21', 'updated_at' => '2025-03-18 14:24:05'],
            ['name' => '产品回收站分页数据接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductTrash', 'action' => 'index', 'rule' => 'v1/product/trash/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:21', 'updated_at' => '2025-03-18 14:24:06'],
            ['name' => '产品回收站复恢操作接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductTrash', 'action' => 'restore', 'rule' => 'v1/product/trash/restore/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:21', 'updated_at' => '2025-03-18 14:24:06'],
            ['name' => '产品回收站删除操作接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductTrash', 'action' => 'delete', 'rule' => 'v1/product/trash/delete/:id', 'method' => 'DELETE', 'desc' => '', 'created_at' => '2025-03-18 10:54:21', 'updated_at' => '2025-03-18 14:24:06'],
            ['name' => '购买平台列表接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductPurchaseLink', 'action' => 'platforms', 'rule' => 'v1/product/buypass/platforms', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:21', 'updated_at' => '2025-03-18 14:24:06'],
            ['name' => '购买链接分页数据接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductPurchaseLink', 'action' => 'index', 'rule' => 'v1/product/buypass/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:21', 'updated_at' => '2025-03-18 14:24:06'],
            ['name' => '添加产品购买链接接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductPurchaseLink', 'action' => 'save', 'rule' => 'v1/product/buypass/save', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:21', 'updated_at' => '2025-03-18 14:24:06'],
            ['name' => '更新产品购买链接接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductPurchaseLink', 'action' => 'update', 'rule' => 'v1/product/buypass/update/:id', 'method' => 'PUT', 'desc' => '', 'created_at' => '2025-03-18 10:54:21', 'updated_at' => '2025-03-18 14:24:06'],
            ['name' => '购买链接导出接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductPurchaseLink', 'action' => 'export', 'rule' => 'v1/product/buypass/export', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:22', 'updated_at' => '2025-03-18 14:24:06'],
            ['name' => '购买链接导入接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductPurchaseLink', 'action' => 'import', 'rule' => 'v1/product/buypass/import', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:22', 'updated_at' => '2025-03-18 14:24:06'],
            ['name' => '产品分页数据接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Product', 'action' => 'index', 'rule' => 'v1/product/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:22', 'updated_at' => '2025-03-18 14:24:05'],
            ['name' => '产品数据详情接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Product', 'action' => 'read', 'rule' => 'v1/product/read/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:22', 'updated_at' => '2025-03-18 14:24:05'],
            ['name' => '删除产品数据接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Product', 'action' => 'delete', 'rule' => 'v1/product/delete/:id', 'method' => 'DELETE', 'desc' => '', 'created_at' => '2025-03-18 10:54:22', 'updated_at' => '2025-03-18 14:24:05'],
            ['name' => '上/下架操作接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Product', 'action' => 'updownShelves', 'rule' => 'v1/product/updown_shelves/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:22', 'updated_at' => '2025-03-18 14:24:05'],
            ['name' => '更新产品数据接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Product', 'action' => 'update', 'rule' => 'v1/product/update/:id', 'method' => 'PUT', 'desc' => '', 'created_at' => '2025-03-18 10:54:22', 'updated_at' => '2025-03-18 14:24:05'],
            ['name' => '产品属性特征列表', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductAttr', 'action' => 'index', 'rule' => 'v1/product/attrs', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:22', 'updated_at' => '2025-03-18 14:24:05'],
            ['name' => '产品数据导出接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Product', 'action' => 'export', 'rule' => 'v1/product/export', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:22', 'updated_at' => '2025-03-18 14:24:05'],
            ['name' => '设置排序值接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Product', 'action' => 'sort', 'rule' => 'v1/product/sort/:id', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:22', 'updated_at' => '2025-03-18 14:24:05'],
            ['name' => '附件（下载管理）分类树接口(下拉框场景)', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'AttachmentCategory', 'action' => 'tree', 'rule' => 'v1/attachment/tree', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:22', 'updated_at' => '2025-03-18 14:24:07'],
            ['name' => '附件（下载管理）分类树接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'AttachmentCategory', 'action' => 'index', 'rule' => 'v1/attachment/category/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:22', 'updated_at' => '2025-03-18 14:24:06'],
            ['name' => '附件（下载管理）分类详情接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'AttachmentCategory', 'action' => 'read', 'rule' => 'v1/attachment/category/read/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:22', 'updated_at' => '2025-03-18 14:24:07'],
            ['name' => '附件（下载管理）分类新增接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'AttachmentCategory', 'action' => 'save', 'rule' => 'v1/attachment/category/save', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:22', 'updated_at' => '2025-03-18 14:24:07'],
            ['name' => '附件（下载管理）分类更新接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'AttachmentCategory', 'action' => 'update', 'rule' => 'v1/attachment/category/update/:id', 'method' => 'PUT', 'desc' => '', 'created_at' => '2025-03-18 10:54:23', 'updated_at' => '2025-03-18 14:24:07'],
            ['name' => '附件（下载管理）分类设置排序值接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'AttachmentCategory', 'action' => 'sort', 'rule' => 'v1/attachment/category/sort/:id', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:23', 'updated_at' => '2025-03-18 14:24:07'],
            ['name' => '附件（下载管理）分类删除接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'AttachmentCategory', 'action' => 'delete', 'rule' => 'v1/attachment/category/delete/:id', 'method' => 'DELETE', 'desc' => '', 'created_at' => '2025-03-18 10:54:23', 'updated_at' => '2025-03-18 14:24:07'],
            ['name' => '附件（下载管理）回收站分页数据接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'AttachmentTrash', 'action' => 'index', 'rule' => 'v1/attachment/trash/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:23', 'updated_at' => '2025-03-18 14:24:07'],
            ['name' => '附件（下载管理）回收站恢复操作接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'AttachmentTrash', 'action' => 'restore', 'rule' => 'v1/attachment/trash/restore/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:23', 'updated_at' => '2025-03-18 14:24:07'],
            ['name' => '附件（下载管理）回收站删除操作接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'AttachmentTrash', 'action' => 'delete', 'rule' => 'v1/attachment/trash/delete/:id', 'method' => 'DELETE', 'desc' => '', 'created_at' => '2025-03-18 10:54:23', 'updated_at' => '2025-03-18 14:24:07'],
            ['name' => '附件（下载管理）分页数据接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Attachment', 'action' => 'index', 'rule' => 'v1/attachment/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:23', 'updated_at' => '2025-03-18 14:24:06'],
            ['name' => '附件上传接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Upload', 'action' => 'attachment', 'rule' => 'v1/attachment/upload', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:23', 'updated_at' => '2025-03-18 14:24:06'],
            ['name' => '附件（下载管理）详情接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Attachment', 'action' => 'read', 'rule' => 'v1/attachment/read/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:23', 'updated_at' => '2025-03-18 14:24:06'],
            ['name' => '附件（下载管理）新增接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Attachment', 'action' => 'save', 'rule' => 'v1/attachment/save', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:23', 'updated_at' => '2025-03-18 14:24:06'],
            ['name' => '附件（下载管理）更新接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Attachment', 'action' => 'update', 'rule' => 'v1/attachment/update/:id', 'method' => 'PUT', 'desc' => '', 'created_at' => '2025-03-18 10:54:23', 'updated_at' => '2025-03-18 14:24:06'],
            ['name' => '附件（下载管理）设置排序值接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Attachment', 'action' => 'sort', 'rule' => 'v1/attachment/sort/:id', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:23', 'updated_at' => '2025-03-18 14:24:06'],
            ['name' => '附件（下载管理）删除接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Attachment', 'action' => 'delete', 'rule' => 'v1/attachment/delete/:id', 'method' => 'DELETE', 'desc' => '', 'created_at' => '2025-03-18 10:54:23', 'updated_at' => '2025-03-18 14:24:06'],
            ['name' => '附件（下载管理）禁/启用操作接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Attachment', 'action' => 'enable', 'rule' => 'v1/attachment/enable/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:23', 'updated_at' => '2025-03-18 14:24:06'],
            ['name' => '角色分页接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Role', 'action' => 'index', 'rule' => 'v1/role/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:23', 'updated_at' => '2025-03-18 14:24:07'],
            ['name' => '角色新增接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Role', 'action' => 'save', 'rule' => 'v1/role/save', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:24', 'updated_at' => '2025-03-18 14:24:07'],
            ['name' => '角色详情接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Role', 'action' => 'read', 'rule' => 'v1/role/read/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:24', 'updated_at' => '2025-03-18 14:24:07'],
            ['name' => '角色更新接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Role', 'action' => 'update', 'rule' => 'v1/role/update/:id', 'method' => 'PUT', 'desc' => '', 'created_at' => '2025-03-18 10:54:24', 'updated_at' => '2025-03-18 14:24:07'],
            ['name' => '角色删除接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Role', 'action' => 'delete', 'rule' => 'v1/role/delete/:id', 'method' => 'DELETE', 'desc' => '', 'created_at' => '2025-03-18 10:54:24', 'updated_at' => '2025-03-18 14:24:07'],
            ['name' => '角色列表接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Role', 'action' => 'index', 'rule' => 'v1/roles', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:24', 'updated_at' => '2025-03-18 14:24:07'],
            ['name' => '用户分页接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'User', 'action' => 'index', 'rule' => 'v1/user/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:24', 'updated_at' => '2025-03-18 14:24:07'],
            ['name' => '用户详情接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'User', 'action' => 'read', 'rule' => 'v1/user/read/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:24', 'updated_at' => '2025-03-18 14:24:07'],
            ['name' => '用户新增接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'User', 'action' => 'save', 'rule' => 'v1/user/save', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:24', 'updated_at' => '2025-03-18 14:24:07'],
            ['name' => '用户更新接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'User', 'action' => 'update', 'rule' => 'v1/user/update/:id', 'method' => 'PUT', 'desc' => '', 'created_at' => '2025-03-18 10:54:24', 'updated_at' => '2025-03-18 14:24:07'],
            ['name' => '用户删除接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'User', 'action' => 'delete', 'rule' => 'v1/user/delete/:id', 'method' => 'DELETE', 'desc' => '', 'created_at' => '2025-03-18 10:54:24', 'updated_at' => '2025-03-18 14:24:07'],
            ['name' => '问答分页接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Faq', 'action' => 'index', 'rule' => 'v1/faq/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:24', 'updated_at' => '2025-03-18 14:24:08'],
            ['name' => '问答详情接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Faq', 'action' => 'read', 'rule' => 'v1/faq/read/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:24', 'updated_at' => '2025-03-18 14:24:08'],
            ['name' => '问答新增接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Faq', 'action' => 'save', 'rule' => 'v1/faq/save', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:24', 'updated_at' => '2025-03-18 14:24:08'],
            ['name' => '问答更新接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Faq', 'action' => 'update', 'rule' => 'v1/faq/update/:id', 'method' => 'PUT', 'desc' => '', 'created_at' => '2025-03-18 10:54:24', 'updated_at' => '2025-03-18 14:24:09'],
            ['name' => '问答设置排序值接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Faq', 'action' => 'sort', 'rule' => 'v1/faq/sort/:id', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:25', 'updated_at' => '2025-03-18 14:24:09'],
            ['name' => '问答删除接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Faq', 'action' => 'delete', 'rule' => 'v1/faq/delete/:id', 'method' => 'DELETE', 'desc' => '', 'created_at' => '2025-03-18 10:54:25', 'updated_at' => '2025-03-18 14:24:09'],
            ['name' => '留言记录（联系我们）分页接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'LeaveMessage', 'action' => 'index', 'rule' => 'v1/leavemsg/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:25', 'updated_at' => '2025-03-18 14:24:09'],
            ['name' => '留言记录（联系我们）导出接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'LeaveMessage', 'action' => 'export', 'rule' => 'v1/leavemsg/export', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:25', 'updated_at' => '2025-03-18 14:24:09'],
            ['name' => '批量采购询盘分页接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'BulkPurchaseInquiry', 'action' => 'index', 'rule' => 'v1/bp/inquiry/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:25', 'updated_at' => '2025-03-18 14:24:09'],
            ['name' => '批量采购询盘导出接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'BulkPurchaseInquiry', 'action' => 'export', 'rule' => 'v1/bp/inquiry/export', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:25', 'updated_at' => '2025-03-18 14:24:09'],
            ['name' => '批量采购询盘可选品类列表接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'BulkPurchaseInquiry', 'action' => 'interested', 'rule' => 'v1/bp/inquiry/interested', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:25', 'updated_at' => '2025-03-18 14:24:09'],
            ['name' => '代理商企业规模类型接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Agent', 'action' => 'enterpriseSizeTypes', 'rule' => 'v1/agent/enterprise_size_types', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:25', 'updated_at' => '2025-03-18 14:24:09'],
            ['name' => '代理商分页接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Agent', 'action' => 'index', 'rule' => 'v1/agent/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:25', 'updated_at' => '2025-03-18 14:24:09'],
            ['name' => '代理商导出接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Agent', 'action' => 'export', 'rule' => 'v1/agent/export', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:25', 'updated_at' => '2025-03-18 14:24:09'],
            ['name' => '产品询盘分页接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'ProductInquiry', 'action' => 'index', 'rule' => 'v1/product/inquiry/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:25', 'updated_at' => '2025-03-18 14:24:09'],
            ['name' => '菜单树形结构接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Menu', 'action' => 'index', 'rule' => 'v1/menu/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:25', 'updated_at' => '2025-03-18 14:24:07'],
            ['name' => '菜单树形结构(选项框/权限分配场景)接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Menu', 'action' => 'list', 'rule' => 'v1/menus', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:25', 'updated_at' => '2025-03-18 14:24:07'],
            ['name' => '菜单详情接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Menu', 'action' => 'read', 'rule' => 'v1/menu/read/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:25', 'updated_at' => '2025-03-18 14:24:08'],
            ['name' => '菜单新增接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Menu', 'action' => 'save', 'rule' => 'v1/menu/save', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:25', 'updated_at' => '2025-03-18 14:24:08'],
            ['name' => '菜单更新接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Menu', 'action' => 'update', 'rule' => 'v1/menu/update/:id', 'method' => 'PUT', 'desc' => '', 'created_at' => '2025-03-18 10:54:26', 'updated_at' => '2025-03-18 14:24:08'],
            ['name' => '菜单删除接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Menu', 'action' => 'delete', 'rule' => 'v1/menu/delete/:id', 'method' => 'DELETE', 'desc' => '', 'created_at' => '2025-03-18 10:54:26', 'updated_at' => '2025-03-18 14:24:08'],
            ['name' => '菜单导出接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Menu', 'action' => 'export', 'rule' => 'v1/menu/export', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:26', 'updated_at' => '2025-03-18 14:24:08'],
            ['name' => '菜单导入接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Menu', 'action' => 'import', 'rule' => 'v1/menu/import', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:26', 'updated_at' => '2025-03-18 14:24:08'],
            ['name' => '菜单设置排序值接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Menu', 'action' => 'sort', 'rule' => 'v1/menu/sort/:id', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:26', 'updated_at' => '2025-03-18 14:24:08'],
            ['name' => '导航分类分页接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Navigation', 'action' => 'index', 'rule' => 'v1/navigation/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:26', 'updated_at' => '2025-03-18 14:24:08'],
            ['name' => '导航分类详情接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Navigation', 'action' => 'read', 'rule' => 'v1/navigation/read/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:26', 'updated_at' => '2025-03-18 14:24:08'],
            ['name' => '导航分类新增接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Navigation', 'action' => 'save', 'rule' => 'v1/navigation/save', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:26', 'updated_at' => '2025-03-18 14:24:08'],
            ['name' => '导航分类更新接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Navigation', 'action' => 'update', 'rule' => 'v1/navigation/update/:id', 'method' => 'PUT', 'desc' => '', 'created_at' => '2025-03-18 10:54:26', 'updated_at' => '2025-03-18 14:24:08'],
            ['name' => '导航分类删除接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Navigation', 'action' => 'delete', 'rule' => 'v1/navigation/delete/:id', 'method' => 'DELETE', 'desc' => '', 'created_at' => '2025-03-18 10:54:26', 'updated_at' => '2025-03-18 14:24:08'],
            ['name' => '导航分类列表（选项框场景使用）接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'Navigation', 'action' => 'list', 'rule' => 'v1/navigation/list', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:26', 'updated_at' => '2025-03-18 14:24:08'],
            ['name' => '导航列表树接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'NavigationItem', 'action' => 'index', 'rule' => 'v1/navigation/items/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:26', 'updated_at' => '2025-03-18 14:24:08'],
            ['name' => '导航详情接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'NavigationItem', 'action' => 'read', 'rule' => 'v1/navigation/items/read/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:26', 'updated_at' => '2025-03-18 14:24:08'],
            ['name' => '导航新增接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'NavigationItem', 'action' => 'save', 'rule' => 'v1/navigation/items/save', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:26', 'updated_at' => '2025-03-18 14:24:08'],
            ['name' => '导航更新接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'NavigationItem', 'action' => 'update', 'rule' => 'v1/navigation/items/update/:id', 'method' => 'PUT', 'desc' => '', 'created_at' => '2025-03-18 10:54:27', 'updated_at' => '2025-03-18 14:24:08'],
            ['name' => '导航设置排序值接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'NavigationItem', 'action' => 'sort', 'rule' => 'v1/navigation/items/sort/:id', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:27', 'updated_at' => '2025-03-18 14:24:08'],
            ['name' => '导航删除接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'NavigationItem', 'action' => 'delete', 'rule' => 'v1/navigation/items/delete/:id', 'method' => 'DELETE', 'desc' => '', 'created_at' => '2025-03-18 10:54:27', 'updated_at' => '2025-03-18 14:24:08'],
            ['name' => '获取配置内容接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'SiteConfig', 'action' => 'index', 'rule' => 'v1/site/config/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:27', 'updated_at' => '2025-03-18 14:24:09'],
            ['name' => '站点配置更新接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'SiteConfig', 'action' => 'update', 'rule' => 'v1/site/config/update', 'method' => 'PUT', 'desc' => '', 'created_at' => '2025-03-18 10:54:27', 'updated_at' => '2025-03-18 14:24:09'],
            ['name' => '配置项分页接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'SysConfig', 'action' => 'index', 'rule' => 'v1/config/index', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:27', 'updated_at' => '2025-03-18 14:24:09'],
            ['name' => '配置项分组接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'SysConfig', 'action' => 'groups', 'rule' => 'v1/config/groups', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:27', 'updated_at' => '2025-03-18 14:24:09'],
            ['name' => '配置项类型接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'SysConfig', 'action' => 'types', 'rule' => 'v1/config/types', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:27', 'updated_at' => '2025-03-18 14:24:09'],
            ['name' => '配置项详情接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'SysConfig', 'action' => 'read', 'rule' => 'v1/config/read/:id', 'method' => 'GET', 'desc' => '', 'created_at' => '2025-03-18 10:54:27', 'updated_at' => '2025-03-18 14:24:09'],
            ['name' => '配置项新增接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'SysConfig', 'action' => 'save', 'rule' => 'v1/config/save', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:27', 'updated_at' => '2025-03-18 14:24:09'],
            ['name' => '配置项更新接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'SysConfig', 'action' => 'update', 'rule' => 'v1/config/update/:id', 'method' => 'PUT', 'desc' => '', 'created_at' => '2025-03-18 10:54:27', 'updated_at' => '2025-03-18 14:24:09'],
            ['name' => '配置项删除接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'SysConfig', 'action' => 'delete', 'rule' => 'v1/config/delete/:id', 'method' => 'DELETE', 'desc' => '', 'created_at' => '2025-03-18 10:54:27', 'updated_at' => '2025-03-18 14:24:09'],
            ['name' => '配置项导入接口', 'module' => 'admin', 'layer' => 'v1', 'controller' => 'SysConfig', 'action' => 'import', 'rule' => 'v1/config/import', 'method' => 'POST', 'desc' => '', 'created_at' => '2025-03-18 10:54:27', 'updated_at' => '2025-03-18 14:24:09']
        ]);
    }
}
