多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## **Vip专属链接管理设计逻辑说明** #### 1:manager【后台】关联文件<hr> 1:控制器:VipController.php(路径:Modules/Yunying/Http/Controllers/V1/VipController.php) 2:路由:api.php(路径:Modules/Yunying/Routes/api.php) 3:服务:ServersService.php、VipService.php(路径:Modules/Yunying/Service/ServersService.php) 4:env文件:.env.production(路径:/) 5:配置:app.php(路径:config/app.php) 6:模型:Game.php、Role.php、Server.php、VipModel.php、User.php(路径:Modules/Yunying/Entities/Role.php) 7:请求参数验证类:VipRequest.php(路径:Modules/Yunying/Http/Requests/VipRequest.php) #### 2:arcticwolfgame【公众号】关联文件<hr> 1:路由文件:index.js(路径:src/router/index.js) 2:页面文件:vip.vue(路径:src/views/vip/vip.vue) 3:js文件:index.js(路径:src/api/vip/index.js) #### 3:api关联文件【API接口】关联文件<hr> 1:路由文件:wx.php(路径:routes/wx.php) 2:控制器文件:VipController(路径:app/Http/Controllers/V1/VipController.php) 3:模型文件:VipModel.php(路径:app/Models/VipModel.php) #### 4:sql建表结构语句【sql语句】<hr> CREATE TABLE `game_vip_recharge` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增ID', `game_slug` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '游戏ID(子游戏)', `server_name` varchar(255) CHARACTER SET utf8mb4 NOT NULL COMMENT '区服', `role_name` varchar(255) CHARACTER SET utf8mb4 NOT NULL COMMENT '角色名', `user_id` int(11) NOT NULL COMMENT '用户ID', `content` varchar(500) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '前端展示所需信息(Json)', `link` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '专属链接', `created_at` timestamp NULL DEFAULT NULL COMMENT '添加时间', `updated_at` timestamp NULL DEFAULT NULL COMMENT '修改时间', `deleted_at` timestamp NULL DEFAULT NULL COMMENT '删除时间', PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=56 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='VIP专属充值表';