From a478090fe8d3a8ff897cb2b63be3f75972ee6a73 Mon Sep 17 00:00:00 2001 From: yeyang <746659424@qq.com> Date: Fri, 3 Feb 2023 14:23:22 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20=E4=BC=98=E5=8C=96=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=A4=B9=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +- apps/nga.js | 18 ++--- config/system/gpadmin_system.js | 8 ++ data/nga/incomeCurve.json | 117 ----------------------------- data/pixiv/rankType.json | 83 -------------------- model/Pixiv.js | 6 +- resources/ReferencPanel/.gitignore | 1 - resources/incomeCurve/.gitignore | 1 - tools/nga.js | 117 +++++++++++++++++++++++++++++ tools/pixiv.js | 83 ++++++++++++++++++++ 10 files changed, 222 insertions(+), 215 deletions(-) delete mode 100644 data/nga/incomeCurve.json delete mode 100644 data/pixiv/rankType.json delete mode 100644 resources/ReferencPanel/.gitignore delete mode 100644 resources/incomeCurve/.gitignore create mode 100644 tools/nga.js create mode 100644 tools/pixiv.js diff --git a/.gitignore b/.gitignore index 40b878d..ff227fe 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -node_modules/ \ No newline at end of file +node_modules/ +data/ \ No newline at end of file diff --git a/apps/nga.js b/apps/nga.js index f9133ed..cf1b2eb 100644 --- a/apps/nga.js +++ b/apps/nga.js @@ -3,9 +3,9 @@ import gsCfg from '../../genshin/model/gsCfg.js' import { segment } from 'oicq' import fs from 'node:fs' import common from '../../../lib/common/common.js' -import { Data } from '../components/index.js' +import { Data, Plugin_Path } from '../components/index.js' +import { incomeCurve } from '../tools/nga.js' -const _path = './plugins/yenai-plugin' export class NGA extends plugin { constructor () { super({ @@ -20,15 +20,14 @@ export class NGA extends plugin { } ] }) - this.incomeCurvePath = `${_path}/resources/incomeCurve` - this.referencePanelPath = `${_path}/resources/ReferencPanel` - this.incomeCurveObj = Data.readJSON('data/nga/incomeCurve.json') + this.incomeCurvePath = `${Plugin_Path}/data/incomeCurve` + this.referencePanelPath = `${Plugin_Path}/data/referencPanel` + this.incomeCurveObj = incomeCurve } // 初始化 - async init () { - Data.createDir('resources/incomeCurve') - Data.createDir('resources/ReferencPanel') + async initFolder (type) { + Data.createDir(`data/${type == '收益曲线' ? 'incomeCurve' : 'referencPanel'}`) } async NGA () { @@ -39,7 +38,7 @@ export class NGA extends plugin { role = gsCfg.getRole(this.e.msg, '收益曲线|参考面板') } - if (!role) return logger.error(`${this.e.logFnc}指令可能错误`, role) + if (!role) return logger.error(`${this.e.logFnc}未找到该角色`, role) let type = /收益曲线/.test(this.e.msg) ? '收益曲线' : '参考面板' /** 主角特殊处理 */ @@ -64,6 +63,7 @@ export class NGA extends plugin { url = `http://www.liaobiao.top/Referenc/${role.name}.png` } if (!fs.existsSync(imgPath)) { + this.initFolder(type) await this.getImg(url, imgPath) } diff --git a/config/system/gpadmin_system.js b/config/system/gpadmin_system.js index 6a34b12..0fc5837 100644 --- a/config/system/gpadmin_system.js +++ b/config/system/gpadmin_system.js @@ -201,6 +201,14 @@ export const helpList = [{ } ] }, +{ + group: '其他', + list: [{ + title: '#开启/关闭加群通知', + desc: '将加群申请发送至群', + icon: 2 + }] +}, { group: '进群验证(更多设置请在config/groupverify.yaml进行设置)', list: [ diff --git a/data/nga/incomeCurve.json b/data/nga/incomeCurve.json deleted file mode 100644 index 0d3d4f4..0000000 --- a/data/nga/incomeCurve.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "帮助": "https://img.nga.178.com/attachments/mon_202208/21/i2Qjk1-j5voXxZ96T3cS1di-q9.png", - - "烟绯": "https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-gz71XxZ96T3cS1di-q9.png", - - "辛焱": "https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-1uboXyZ9cT3cS1di-q9.png", - - "宵宫": "https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-acsfXyZ9eT3cS1di-q9.png", - - "香菱": "https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-akwxXwZ8wT3cS1di-q9.png", - - "托马": "https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-in5cXwZ90T3cS1di-q9.png", - - "胡桃": "https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-6vbsXvZ8pT3cS1di-q9.png", - - "迪卢克": "https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-dgbbXxZ92T3cS1di-q9.png", - - "安柏": "https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-8m6vXxZ91T3cS1di-q9.png", - - "夜兰": "https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-3oq4XxZ95T3cS1di-q9.png", - - "行秋": "https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-b18cXwZ91T3cS1di-q9.png", - - "神里绫人": "https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-hyagXyZ9fT3cS1di-q9.png", - - "珊瑚宫心海": "https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-3ktjXxZ9bT3cS1di-q9.png", - - "莫娜": "https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-9cifXyZ9bT3cS1di-q9.png", - - "达达利亚": "https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-hu24XyZ9cT3cS1di-q9.png", - - "芭芭拉": "https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-1t4oXxZ95T3cS1di-q9.png", - - "可莉": "https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-bplpXwZ8zT3cS1di-q9.png", - - "班尼特": "https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-i6w3XwZ8xT3cS1di-q9.png", - - "重云": "https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-al2oXxZ9bT3cS1di-q9.png", - - "优菈": "https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-ec2aXxZ98T3cS1di-q9.png", - - "神里绫华": "https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-jurwXxZ97T3cS1di-q9.png", - - "申鹤": "https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-2mawXxZ9bT3cS1di-q9.png", - - "七七": "https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-gbmkXxZ99T3cS1di-q9.png", - - "罗莎莉亚": "https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-2tppXyZ9cT3cS1di-q9.png", - - "凯亚": "https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-cpsdXxZ96T3cS1di-q9.png", - - "甘雨": "https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-jh27XxZ96T3cS1di-q9.png", - - "迪奥娜": "https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-4pvvXxZ97T3cS1di-q9.png", - - "埃洛伊": "https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-a90bXwZ8yT3cS1di-q9.png", - - "钟离": "https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-3ifiXwZ8zT3cS1di-q9.png", - - "云堇": "https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-9yzvXxZ97T3cS1di-q9.png", - - "五郎": "https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-j6rfXxZ9aT3cS1di-q9.png", - - "诺艾尔": "https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-9ht1XxZ97T3cS1di-q9.png", - - "凝光": "https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-3sa1XxZ94T3cS1di-q9.png", - - "岩主": "https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-kje0XxZ92T3cS1di-q9.png", - - "荒泷一斗": "https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-73zhXxZ97T3cS1di-q9.png", - - "阿贝多": "https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-cwmhXwZ8wT3cS1di-q9.png", - - "早柚": "https://img.nga.178.com/attachments/mon_202208/21/i2Qjk1-28j7XxZ94T3cS1di-q9.png", - - "魈": "https://img.nga.178.com/attachments/mon_202208/21/i2Qjk1-htbXwZ8yT3cS1di-q9.png", - - "琴": "https://img.nga.178.com/attachments/mon_202208/21/i2Qjk1-kqstXxZ9aT3cS1di-q9.png", - - "鹿野院平藏": "https://img.nga.178.com/attachments/mon_202208/21/i2Qjk1-jx1yXxZ92T3cS1di-q9.png", - - "雷主": "https://img.nga.178.com/attachments/mon_202208/21/i2Qjk1-aqakXxZ93T3cS1di-q9.png", - - "雷泽": "https://img.nga.178.com/attachments/mon_202208/21/i2Qjk1-axdiXxZ97T3cS1di-q9.png", - - "雷电将军": "https://img.nga.178.com/attachments/mon_202208/21/i2Qjk1-dagnXyZ9cT3cS1di-q9.png", - - "九条裟罗": "https://img.nga.178.com/attachments/mon_202208/21/i2Qjk1-ep0dXwZ8yT3cS1di-q9.png", - - "提纳里": "https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-1twzXwZ8uT3cS1di-q9.png", - - "草主": "https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-620hXuZ8aT3cS1di-q9.png", - - "枫原万叶": "https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-i5niXvZ8iT3cS1di-q9.png", - - "丽莎": "https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-ba0sXxZ96T3cS1di-q9.png", - - "刻晴": "https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-j403XyZ9hT3cS1di-q9.png", - - "久岐忍": "https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-1zzuXxZ97T3cS1di-q9.png", - - "菲谢尔": "https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-77grXxZ98T3cS1di-q9.png", - - "北斗": "https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-5xbkZ2dT3cS1di-q9.png", - - "八重神子": "https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-ddaeXyZ9kT3cS1di-q9.png", - - "多莉": "https://img.nga.178.com/attachments/mon_202209/09/i2Q181-45azXyZ9bT3cS1di-q9.png", - - "柯莱": "https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-86c8XvZ8pT3cS1di-q9.png", - - "温迪": "https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-2s69XwZ8uT3cS1di-q9.png", - - "砂糖": "https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-95mbXwZ8vT3cS1di-q9.png", - - "风主": "https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-bplhXvZ8lT3cS1di-q9.png" -} diff --git a/data/pixiv/rankType.json b/data/pixiv/rankType.json deleted file mode 100644 index 28bc3ce..0000000 --- a/data/pixiv/rankType.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "日": { - "type": "day", - "total": 500, - "r18": { - "total": 100, - "type": "day_r18" - } - }, - "周": { - "type": "week", - "total": 500, - "r18": { - "total": 100, - "type": "week_r18" - } - }, - "月": { - "type": "month", - "total": 500, - "r18": false - }, - "AI": { - "type": "day_ai", - "total": 50, - "r18": { - "total": 50, - "type": "day_r18_ai" - } - }, - "男性向": { - "type": "day_male", - "total": 500, - "r18": { - "total": 300, - "type": "day_male_r18" - } - }, - "女性向": { - "type": "day_female", - "total": 500, - "r18": { - "total": 300, - "type": "day_female_r18" - } - }, - "漫画日": { - "type": "day_manga", - "total": 500, - "r18": { - "total": 100, - "type": "day_r18_manga" - } - }, - "漫画周": { - "type": "week_manga", - "total": 500, - "r18": { - "total": 100, - "type": "week_r18_manga" - } - }, - "漫画月": { - "type": "month_manga", - "total": 500, - "r18": false - }, - "漫画新人周": { - "type": "week_rookie_manga", - "total": 500, - "r18": false - }, - "新人": { - "type": "week_rookie", - "total": 500, - "r18": false - }, - "原创": { - "type": "week_original", - "total": 500, - "r18": false - } -} diff --git a/model/Pixiv.js b/model/Pixiv.js index c28547d..2a5ddbc 100644 --- a/model/Pixiv.js +++ b/model/Pixiv.js @@ -3,14 +3,14 @@ import lodash from 'lodash' import { segment } from 'oicq' import moment from 'moment' import { common } from './index.js' -import { Data } from '../components/index.js' +import { rankType } from '../tools/pixiv.js' /** API请求错误文案 */ const API_ERROR = '❎ 出错辣,请稍后重试' export default new class Pixiv { constructor () { - this._proxy = 'i.pixiv.re' - this.ranktype = Data.readJSON('data/pixiv/rankType.json') + this._proxy = '' + this.ranktype = rankType this.domain = 'http://api.liaobiao.top/api/pixiv' this.init() } diff --git a/resources/ReferencPanel/.gitignore b/resources/ReferencPanel/.gitignore deleted file mode 100644 index aab52d9..0000000 --- a/resources/ReferencPanel/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.png \ No newline at end of file diff --git a/resources/incomeCurve/.gitignore b/resources/incomeCurve/.gitignore deleted file mode 100644 index aab52d9..0000000 --- a/resources/incomeCurve/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.png \ No newline at end of file diff --git a/tools/nga.js b/tools/nga.js new file mode 100644 index 0000000..5ead1e0 --- /dev/null +++ b/tools/nga.js @@ -0,0 +1,117 @@ +export const incomeCurve = { + 帮助: 'https://img.nga.178.com/attachments/mon_202208/21/i2Qjk1-j5voXxZ96T3cS1di-q9.png', + + 烟绯: 'https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-gz71XxZ96T3cS1di-q9.png', + + 辛焱: 'https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-1uboXyZ9cT3cS1di-q9.png', + + 宵宫: 'https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-acsfXyZ9eT3cS1di-q9.png', + + 香菱: 'https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-akwxXwZ8wT3cS1di-q9.png', + + 托马: 'https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-in5cXwZ90T3cS1di-q9.png', + + 胡桃: 'https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-6vbsXvZ8pT3cS1di-q9.png', + + 迪卢克: 'https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-dgbbXxZ92T3cS1di-q9.png', + + 安柏: 'https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-8m6vXxZ91T3cS1di-q9.png', + + 夜兰: 'https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-3oq4XxZ95T3cS1di-q9.png', + + 行秋: 'https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-b18cXwZ91T3cS1di-q9.png', + + 神里绫人: 'https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-hyagXyZ9fT3cS1di-q9.png', + + 珊瑚宫心海: 'https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-3ktjXxZ9bT3cS1di-q9.png', + + 莫娜: 'https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-9cifXyZ9bT3cS1di-q9.png', + + 达达利亚: 'https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-hu24XyZ9cT3cS1di-q9.png', + + 芭芭拉: 'https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-1t4oXxZ95T3cS1di-q9.png', + + 可莉: 'https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-bplpXwZ8zT3cS1di-q9.png', + + 班尼特: 'https://img.nga.178.com/attachments/mon_202208/17/i2Q2q-i6w3XwZ8xT3cS1di-q9.png', + + 重云: 'https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-al2oXxZ9bT3cS1di-q9.png', + + 优菈: 'https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-ec2aXxZ98T3cS1di-q9.png', + + 神里绫华: 'https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-jurwXxZ97T3cS1di-q9.png', + + 申鹤: 'https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-2mawXxZ9bT3cS1di-q9.png', + + 七七: 'https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-gbmkXxZ99T3cS1di-q9.png', + + 罗莎莉亚: 'https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-2tppXyZ9cT3cS1di-q9.png', + + 凯亚: 'https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-cpsdXxZ96T3cS1di-q9.png', + + 甘雨: 'https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-jh27XxZ96T3cS1di-q9.png', + + 迪奥娜: 'https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-4pvvXxZ97T3cS1di-q9.png', + + 埃洛伊: 'https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-a90bXwZ8yT3cS1di-q9.png', + + 钟离: 'https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-3ifiXwZ8zT3cS1di-q9.png', + + 云堇: 'https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-9yzvXxZ97T3cS1di-q9.png', + + 五郎: 'https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-j6rfXxZ9aT3cS1di-q9.png', + + 诺艾尔: 'https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-9ht1XxZ97T3cS1di-q9.png', + + 凝光: 'https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-3sa1XxZ94T3cS1di-q9.png', + + 岩主: 'https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-kje0XxZ92T3cS1di-q9.png', + + 荒泷一斗: 'https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-73zhXxZ97T3cS1di-q9.png', + + 阿贝多: 'https://img.nga.178.com/attachments/mon_202208/19/i2Q2q-cwmhXwZ8wT3cS1di-q9.png', + + 早柚: 'https://img.nga.178.com/attachments/mon_202208/21/i2Qjk1-28j7XxZ94T3cS1di-q9.png', + + 魈: 'https://img.nga.178.com/attachments/mon_202208/21/i2Qjk1-htbXwZ8yT3cS1di-q9.png', + + 琴: 'https://img.nga.178.com/attachments/mon_202208/21/i2Qjk1-kqstXxZ9aT3cS1di-q9.png', + + 鹿野院平藏: 'https://img.nga.178.com/attachments/mon_202208/21/i2Qjk1-jx1yXxZ92T3cS1di-q9.png', + + 雷主: 'https://img.nga.178.com/attachments/mon_202208/21/i2Qjk1-aqakXxZ93T3cS1di-q9.png', + + 雷泽: 'https://img.nga.178.com/attachments/mon_202208/21/i2Qjk1-axdiXxZ97T3cS1di-q9.png', + + 雷电将军: 'https://img.nga.178.com/attachments/mon_202208/21/i2Qjk1-dagnXyZ9cT3cS1di-q9.png', + + 九条裟罗: 'https://img.nga.178.com/attachments/mon_202208/21/i2Qjk1-ep0dXwZ8yT3cS1di-q9.png', + + 提纳里: 'https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-1twzXwZ8uT3cS1di-q9.png', + + 草主: 'https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-620hXuZ8aT3cS1di-q9.png', + + 枫原万叶: 'https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-i5niXvZ8iT3cS1di-q9.png', + + 丽莎: 'https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-ba0sXxZ96T3cS1di-q9.png', + + 刻晴: 'https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-j403XyZ9hT3cS1di-q9.png', + + 久岐忍: 'https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-1zzuXxZ97T3cS1di-q9.png', + + 菲谢尔: 'https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-77grXxZ98T3cS1di-q9.png', + + 北斗: 'https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-5xbkZ2dT3cS1di-q9.png', + + 八重神子: 'https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-ddaeXyZ9kT3cS1di-q9.png', + + 多莉: 'https://img.nga.178.com/attachments/mon_202209/09/i2Q181-45azXyZ9bT3cS1di-q9.png', + + 柯莱: 'https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-86c8XvZ8pT3cS1di-q9.png', + + 温迪: 'https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-2s69XwZ8uT3cS1di-q9.png', + + 砂糖: 'https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-95mbXwZ8vT3cS1di-q9.png', + + 风主: 'https://img.nga.178.com/attachments/mon_202208/24/i2Q8oyf-bplhXvZ8lT3cS1di-q9.png' +} diff --git a/tools/pixiv.js b/tools/pixiv.js new file mode 100644 index 0000000..78fc3cf --- /dev/null +++ b/tools/pixiv.js @@ -0,0 +1,83 @@ +export const rankType = { + 日: { + type: 'day', + total: 500, + r18: { + total: 100, + type: 'day_r18' + } + }, + 周: { + type: 'week', + total: 500, + r18: { + total: 100, + type: 'week_r18' + } + }, + 月: { + type: 'month', + total: 500, + r18: false + }, + AI: { + type: 'day_ai', + total: 50, + r18: { + total: 50, + type: 'day_r18_ai' + } + }, + 男性向: { + type: 'day_male', + total: 500, + r18: { + total: 300, + type: 'day_male_r18' + } + }, + 女性向: { + type: 'day_female', + total: 500, + r18: { + total: 300, + type: 'day_female_r18' + } + }, + 漫画日: { + type: 'day_manga', + total: 500, + r18: { + total: 100, + type: 'day_r18_manga' + } + }, + 漫画周: { + type: 'week_manga', + total: 500, + r18: { + total: 100, + type: 'week_r18_manga' + } + }, + 漫画月: { + type: 'month_manga', + total: 500, + r18: false + }, + 漫画新人周: { + type: 'week_rookie_manga', + total: 500, + r18: false + }, + 新人: { + type: 'week_rookie', + total: 500, + r18: false + }, + 原创: { + type: 'week_original', + total: 500, + r18: false + } +}