mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 21:27:47 +00:00
feat: 月报(菲林统计)
This commit is contained in:
parent
90f7957559
commit
c4d6d8a988
20 changed files with 768 additions and 28 deletions
|
|
@ -62,6 +62,10 @@ export default class ZZZApiTool {
|
|||
url: `${this.hostRecord}event/game_record_zzz/api/zzz/challenge`,
|
||||
query: `lang=zh-cn&role_id=${this.uid}&server=${this.server}&schedule_type=2`,
|
||||
},
|
||||
zzzMonthly: {
|
||||
url: `${this.host}event/nap_ledger/month_info`,
|
||||
query: `uid=${this.uid}®ion=${this.server}`,
|
||||
},
|
||||
zzzAuthKey: {
|
||||
url: `${this.host}binding/api/genAuthKey`,
|
||||
body: {
|
||||
|
|
@ -79,12 +83,17 @@ export default class ZZZApiTool {
|
|||
const deviceCfg = settings.getConfig('device');
|
||||
const defDeviceCfg = settings.getdefSet('device');
|
||||
const {
|
||||
productName = _.get(deviceCfg, 'productName') ?? _.get(defDeviceCfg, 'productName'),
|
||||
deviceType = _.get(deviceCfg, 'productType') ?? _.get(defDeviceCfg, 'productType'),
|
||||
modelName = _.get(deviceCfg, 'modelName') ?? _.get(defDeviceCfg, 'modelName'),
|
||||
productName = _.get(deviceCfg, 'productName') ??
|
||||
_.get(defDeviceCfg, 'productName'),
|
||||
deviceType = _.get(deviceCfg, 'productType') ??
|
||||
_.get(defDeviceCfg, 'productType'),
|
||||
modelName = _.get(deviceCfg, 'modelName') ??
|
||||
_.get(defDeviceCfg, 'modelName'),
|
||||
oaid = this.uuid,
|
||||
osVersion = _.get(deviceCfg, 'osVersion') ?? _.get(defDeviceCfg, 'osVersion'),
|
||||
deviceInfo = _.get(deviceCfg, 'deviceInfo') ?? _.get(defDeviceCfg, 'deviceInfo'),
|
||||
osVersion = _.get(deviceCfg, 'osVersion') ??
|
||||
_.get(defDeviceCfg, 'osVersion'),
|
||||
deviceInfo = _.get(deviceCfg, 'deviceInfo') ??
|
||||
_.get(defDeviceCfg, 'deviceInfo'),
|
||||
board = _.get(deviceCfg, 'board') ?? _.get(defDeviceCfg, 'board'),
|
||||
} = data;
|
||||
const deviceBrand = deviceInfo.split('/')[0];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue