修改注册功能问题

This commit is contained in:
rain
2026-07-10 17:08:21 +08:00
parent 66f3204349
commit a549ca5ca3
15 changed files with 524 additions and 84 deletions
+25 -4
View File
@@ -53,7 +53,17 @@ function run() {
assert.deepStrictEqual(CaptchaPages.buildVerifyBody({
id: 'tianai-1',
data: {
trackList: [{ x: 10, y: 2 }]
bgImageWidth: 340,
bgImageHeight: 180,
templateImageWidth: 50,
templateImageHeight: 50,
startTime: 1720000000000,
stopTime: 1720000001500,
trackList: [
{ x: 0, y: 0, t: 0, type: 'down' },
{ x: 120, y: 0, t: 650, type: 'move' },
{ x: 120, y: 0, t: 700, type: 'up' }
]
}
}, {
sceneCode: 'WEB_H5_LOGIN',
@@ -70,9 +80,20 @@ function run() {
providerCode: 'tianai',
captchaType: 'SLIDER',
payload: {
id: 'tianai-1',
data: {
trackList: [{ x: 10, y: 2 }]
track: {
bgImageWidth: 340,
bgImageHeight: 180,
templateImageWidth: 50,
templateImageHeight: 50,
startTime: 1720000000000,
stopTime: 1720000001500,
left: 120,
top: 0,
trackList: [
{ x: 0, y: 0, t: 0, type: 'down' },
{ x: 120, y: 0, t: 650, type: 'move' },
{ x: 120, y: 0, t: 700, type: 'up' }
]
}
}
});