改一下

This commit is contained in:
bbaban 2023-10-10 15:39:49 +08:00
parent 3e8e30f329
commit a70b384580
2 changed files with 1 additions and 3 deletions

View File

@ -21,7 +21,6 @@ export default class MysApi {
this.cacheCd = 300 this.cacheCd = 300
this._device = device this._device = device
this.device_fp = ''
this.option = { this.option = {
log: true, log: true,
...option ...option

View File

@ -418,8 +418,7 @@ export default class MysInfo {
case 1034: case 1034:
try { try {
let Validate = (await import(`file://${process.cwd()}/plugins/loveMys-plugin/model/mys/mysApi.js`)).default let Validate = (await import(`file://${process.cwd()}/plugins/loveMys-plugin/model/mys/mysApi.js`)).default
let vali = new Validate(mysApi.uid, mysApi.cookie, mysApi.option, mysApi.isSr ? 'sr' : 'gs', mysApi._device) res = await Validate.getvali(mysApi, type, data)
res = await vali.getvali(type, data)
} catch (error) { } } catch (error) { }
if (!res || res?.retcode == 1034) { if (!res || res?.retcode == 1034) {