miao-plugin/config/system/profile_system.js
小灰灰 e43df47b8a
修改Https地址为Http (#493)
* 面板查询地址优化

* Update README.md

* Update profile_default.js
2023-02-27 21:28:57 +08:00

34 lines
836 B
JavaScript

/*
* 此配置文件为系统使用,请勿修改,否则可能无法正常使用
* 如需自定义配置请复制修改上一级profile_default.js
* */
export const miaoApi = {
listApi: ({ url, uid, diyCfg }) => {
let qq = /\d{5,12}/.test(diyCfg.qq) ? diyCfg.qq : 'none'
let token = diyCfg.token
url = url || 'http://miaoapi.cn/'
return `${url}profile/data?uid=${uid}&qq=${qq}&token=${token}&version=2`
}
}
export const enkaApi = {
url: 'https://enka.network/',
userAgent: 'Miao-Plugin/3.1',
listApi: ({ url, uid, diyCfg }) => {
return `${url}api/uid/${uid}/`
}
}
export const mggApi = {
url: 'http://profile.microgg.cn/',
userAgent: 'Miao-Plugin/3.1',
listApi: ({ url, uid, diyCfg }) => {
return `${url}api/uid/${uid}/`
}
}
export const requestInterval = 5
export const isSys = true