修改验证码逻辑,每次获取都更新新的验证码,更像随机数

This commit is contained in:
2026-02-05 00:18:36 +08:00
parent 6b22238c6e
commit c8a67abdd2
3 changed files with 22 additions and 39 deletions

View File

@@ -42,7 +42,7 @@
"tabIndent": "insertSpaces",
"tabSize": 2
},
"libVersion": "3.12.1",
"libVersion": "3.14.1",
"packOptions": {
"ignore": [],
"include": []

View File

@@ -464,7 +464,7 @@ app.post('/api/getPhoneCode', async (req, res) => {
const payload = {
"app": "youle",
"route": "agent",
"rpc": "get_phone_code_wechat",
"rpc": "send_phone_code_wechat",
"data": {
"agentid": agentid,
"phonenum": phonenum