This commit is contained in:
make
2025-04-06 21:51:01 +08:00
commit 3792acd4c7
408 changed files with 42349 additions and 0 deletions

79
src/api/config/index.ts Normal file
View File

@@ -0,0 +1,79 @@
// 登录
export const loginApiUrl = "/guest/login";
// 配置
export const getSystemConfigListApiUrl = "/system/config/list";
export const getSystemConfigSaveApiUrl = "/system/config/save";
// 资源端点
export const getSystemZyddListApiUrl = "/system/zydd/list";
export const getSystemZyddSaveApiUrl = "/system/zydd/save";
// 计划任务列表
export const getSystemPlanListApiUrl = "/system/plan/list";
export const getSystemPlanSaveApiUrl = "/system/plan/save";
// 采集配置列表
export const getSystemCjpzListApiUrl = "/system/cjpz/list";
export const getSystemCjpzSaveApiUrl = "/system/cjpz/save";
// 用户信息
export const getSystemUserInfoApiUrl = "/system/user/info";
// 用户列表
export const getSystemUserlistApiUrl = "/system/user/list";
// 视频分类 /shipin/fenlei/list?page=1&limit=10&key=
export const getShipinFenleiApiUrl = "/shipin/fenlei/list";
// 视频列表 /shipin/main/list?page=1&limit=10&key=
export const getShipinMainListApiUrl = "/shipin/main/list";
// 视频列表 -批量设置每日推荐视频
export const getShipinMainMrtjApiUrl = "/shipin/main/mrtj";
export const getShipinMainVipApiUrl = "/shipin/main/vip";
// seo关键词
export const getKeyWordListApiUrl = "/system/keyword/list";
export const getKeyWordSaveApiUrl = "/system/keyword/save";
export const getKeyWordDelApiUrl = "/system/keyword/del";
// 小说分类
export const getXiaoShuoFenleiApiUrl = "/novel/category/list";
// 小说章节
export const getXiaoZhangJieYouApiUrl = "/xiaoshuo/zhangjie/list";
// 小说列表
export const getXiaoShuoMainListApiUrl = "/novel/list";
// 广告分组 /guanggao/main/group/list?page=1&limit=10&key=
export const getGuangGaoMainGroupListApiUrl = "/guanggao/main/group/list";
// 广告列表 /guanggao/main/list?page=1&limit=10&key=
export const getGuangGaoMainListApiUrl = "/guanggao/main/list";
//广告配置
export const getGuangGaoGgpzListApiUrl = "/guanggao/ggpz/list";
export const getGuangGaoGgpzSaveApiUrl = "/guanggao/ggpz/save";
// 漫画分类 /manhua/fenlei/list?page=1&limit=10&key=
export const getManHuaFenleiApiUrl = "/manhua/fenlei/list";
// 漫画章节 /shipin/nvyou/list?page=1&limit=10&key=
export const getManHuaZhangJieApiUrl = "/manhua/zhangjie/list";
// 漫画列表 /shipin/main/list?page=1&limit=10&key=
export const getManHuaMainListApiUrl = "/manhua/main/list";
// 设置广告分组 /guanggao/main/group/save 传参form-data 参数 ggfz_code ggfz_name ggfz_id
export const getGuangGaoMainGroupSaveApiUrl = "/guanggao/main/group/save";
// 删除广告分组 /guanggao/main/group/del 传参form-data 参数 ggfz_id
export const getGuangGaoMainGroupDelApiUrl = "/guanggao/main/group/del";
// 设置广告 /guanggao/main/group/save 传参form-data 参数 gg_id ggfz_id gg_lei_xing gg_tu_pian gg_wen_zi gg_tiao_zhuan_di_zhi
export const getGuangGaoMainSaveApiUrl = "/guanggao/main/save";
// 删除广告 /guanggao/main/group/del 传参form-data 参数 gg_id
export const getGuangGaoMainDelApiUrl = "/guanggao/main/del";
// 参数模板列表
export const getTkdargListUrl = "/site/tkdarg/list";
// 模板列表
export const getTemplateListUrl = "/site/template/list";
// 替换模板分组列表
export const getSubjectFomartGroupList = "/site/subject/fomart/group/list";
// 替换模板列表
export const getSubjectFomartList = "/site/subject/fomart/list";

View File

@@ -0,0 +1,99 @@
// 后端微服务模块前缀
export const PORT1 = "/geeker";
export const ADMIN = "/admin";
/**
* @name 服务端口-系统
*/
export const SYSTEM_PORT = "/admin/system";
export const DOMAIN_PORT = "/admin/domain";
export const USER_PORT = SYSTEM_PORT + "/user";
export const ROLE_PORT = SYSTEM_PORT + "/role";
export const NODE_PORT = SYSTEM_PORT + "/node";
export const TASK_PORT = SYSTEM_PORT + "/task";
export const MSG_PORT = "/admin/msg/task";
export const DOWNLOAD_PORT = "/admin/report/down";
export const CONFIG_PORT = SYSTEM_PORT + "/config";
export const SYS_CONFIG_PORT = SYSTEM_PORT + "/sysconfig";
export const RES_SOURCE_PORT = "/admin/resource";
/**
* @name 服务端口-视频
*/
export const VIDEO_PORT = ADMIN + "/video";
/**
* @name 服务端口-标签
*/
export const TAG_PORT = ADMIN + "/tag";
/**
* @name 服务端口-图册
*/
export const ATLAS_PORT = ADMIN + "/atlas";
/**
* @name 服务端口-小说
*/
export const NOVEL_PORT = ADMIN + "/novel";
/**
* @name 服务端口-漫画
*/
export const MANGA_PORT = ADMIN + "/manga";
/**
* @name 服务端口-TAG
*/
export const TAB_BATCH_PORT = ADMIN + "/tab";
/**
* @name 服务端口-APP用户列表
*/
export const MI_USER_PORT = ADMIN + "/miaouser";
/**
* @name 服务端口-视频反馈列表
*/
export const FEEDBACK_PORT = ADMIN + "/feedback";
/**
* @name 服务端口-搜索词管理
*/
export const SEARCH_PORT = ADMIN + "/search";
/**
* @name 服务端口-站点
*/
export const SITE_PORT = ADMIN + "/site";
/**
* @name 服务端口-推广等级
*/
export const SPREAD_PORT = ADMIN + "/spread";
/**
* @name 服务端口-分享管理
*/
export const SHARE_PORT = ADMIN + "/share";
/**
* @name 服务端口-邮箱管理
*/
export const EMAIL_PORT = ADMIN + "/email";
/**
* @name 服务端口-活动管理
*/
export const ACTIVITY_PORT = ADMIN + "/activity";
/**
* @name 服务端口-缓存管理
*/
export const CACHE_PORT = SYSTEM_PORT + "/cache";
/**
* @name 服务端口-财务管理
*/
//金币账户
export const FINANCE_PORT = ADMIN + "/finance";
export const ACCOUNT_PORT = FINANCE_PORT + "/account";
//VIP
export const RECHARGE_PORT = FINANCE_PORT + "/recharge";
export const ORDER_PORT = RECHARGE_PORT + "/order";
export const PACKAGE_PORT = RECHARGE_PORT + "/package";
//渠道
export const CHANNEL_PORT = ADMIN + "/channel";