Files
web-fusion/src/config/pk-mini.js

29 lines
701 B
JavaScript
Raw Normal View History

2026-02-08 16:35:01 +08:00
/**
* PK Mini 模块配置
*
* GoEasy 续费后 GOEASY_ENABLED 改为 true 即可开启消息功能
*/
2026-02-26 13:15:19 +08:00
import { ENV } from '@/config'
2026-02-08 16:35:01 +08:00
export const PK_MINI_CONFIG = {
// GoEasy 开关 - 续费后改为 true
2026-02-26 13:15:19 +08:00
GOEASY_ENABLED: true,
2026-02-08 16:35:01 +08:00
// GoEasy 配置
GOEASY: {
2026-03-03 21:57:18 +08:00
HOST: 'singapore.goeasy.io',
APP_KEY: 'PC-8b16068a70024e27a17f93e36080afcd',
2026-02-08 16:35:01 +08:00
},
2026-02-26 13:15:19 +08:00
// API 基础地址(从中心配置读取,随环境自动切换)
get API_BASE_URL() {
return ENV.PK_MINI_API_URL + '/'
},
2026-02-08 16:35:01 +08:00
// 头像 CDN 地址
AVATAR_CDN_PREFIX: 'https://vv-1317974657.cos.ap-shanghai.myqcloud.com/headerIcon/',
}
// 快捷访问
export const isGoEasyEnabled = () => PK_MINI_CONFIG.GOEASY_ENABLED