mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
fix
This commit is contained in:
parent
5d109ef51c
commit
4828a31163
11 changed files with 100 additions and 126 deletions
|
|
@ -47,13 +47,16 @@ export class SingleGachaLog {
|
|||
*/
|
||||
export class ZZZGachaLogResp {
|
||||
/**
|
||||
* @param {string} page
|
||||
* @param {string} size
|
||||
* @param {SingleGachaLog[]} list
|
||||
* @param {string} region
|
||||
* @param {number} region_time_zone
|
||||
* @param {{
|
||||
* page: string;
|
||||
* size: string;
|
||||
* list: SingleGachaLog[];
|
||||
* region: string;
|
||||
* region_time_zone: number;
|
||||
* }} data
|
||||
*/
|
||||
constructor(page, size, list, region, region_time_zone) {
|
||||
constructor(data) {
|
||||
const { page, size, list, region, region_time_zone } = data;
|
||||
this.page = page;
|
||||
this.size = size;
|
||||
this.list = list;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue