改一下
This commit is contained in:
parent
3e8e30f329
commit
a70b384580
|
@ -21,7 +21,6 @@ export default class MysApi {
|
|||
this.cacheCd = 300
|
||||
|
||||
this._device = device
|
||||
this.device_fp = ''
|
||||
this.option = {
|
||||
log: true,
|
||||
...option
|
||||
|
|
|
@ -418,8 +418,7 @@ export default class MysInfo {
|
|||
case 1034:
|
||||
try {
|
||||
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 vali.getvali(type, data)
|
||||
res = await Validate.getvali(mysApi, type, data)
|
||||
} catch (error) { }
|
||||
|
||||
if (!res || res?.retcode == 1034) {
|
||||
|
|
Loading…
Reference in New Issue