滑动提示修改

This commit is contained in:
Le-niao 2022-08-29 09:48:04 +08:00
parent 7469da2b45
commit 247f028b8d
4 changed files with 6 additions and 4 deletions

1
.gitignore vendored
View File

@ -134,7 +134,6 @@ dist
dump.rdb
data/
config/test/*
plugins/genshin/config/*
!config/test/default.yaml
logs/

View File

@ -68,15 +68,15 @@ export default class loginEvent extends EventListener {
{
type: 'list',
name: 'type',
message: '触发滑动验证,请选择验证方式:',
choices: ['1.手动获取ticket', '2.滑动验证app请求码']
message: '触发滑动验证,需要获取ticket通过验证请选择获取方式:',
choices: ['1.手动获取ticket', '2.滑动验证app请求码获取']
}
])
await common.sleep(200)
let ticket
if (ret.type == '2.滑动验证app请求码') {
if (ret.type == '2.滑动验证app请求码获取') {
ticket = await this.requestCode(event.url)
if (!ticket) console.log('\n请求错误返回手动获取ticket方式\n')
}

1
plugins/.gitignore vendored
View File

@ -3,6 +3,7 @@
!genshin
!genshin/**
genshin/config/*
!system
!system/**

View File

@ -81,3 +81,5 @@
|#设置刻晴别名|自定义别名|
|#删除别名龟龟|删除设置的别名|
|#刻晴别名|别名列表|
|#配置ck|添加公共查询ck|
|#使用用户ck|将用户ck加入到公共查询ck池|