改一下
This commit is contained in:
parent
3e8e30f329
commit
a70b384580
|
@ -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
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue