Files
rlz/测试账户列表.txt
2026-01-26 15:02:59 +08:00

63 lines
1.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
========================================
测试账户列表
========================================
更新时间:$(date)
一、测试账户信息
--------------
账户1:
手机号:18792702169
验证码:6666
默认密码:123456
用户ID:101
用户类型:C(客户端用户)
状态:正常
账户2:
手机号:18133922183
验证码:6666
默认密码:123456
用户ID:100
用户类型:C(客户端用户)
状态:正常
二、验证码机制
------------
1. 以上两个手机号的验证码固定为 6666
2. 验证码存储在 Redis 中,有效期 5 分钟
3. 发送验证码时会自动设置到 Redis
4. 其他手机号的验证码仍然是随机生成的
三、后端配置
----------
文件:MsmController.java
配置:testPhoneNumbers 数组
- "18792702169"
- "18133922183"
四、使用说明
----------
1. 在 Android 陪护端打开验证码登录页面
2. 输入测试手机号(18792702169 或 18133922183)
3. 点击"获取验证码"
4. 输入验证码:6666
5. 点击登录
五、注意事项
----------
1. 验证码有效期:5 分钟
2. 如果验证码过期,需要重新获取
3. 测试账户的验证码固定为 6666,不会随机生成
4. 需要重启后端服务以应用代码更改
六、相关文件
----------
- rlz/ruoyi-system/src/main/java/com/ruoyi/system/controller/MsmController.java
- rlz/sql/create_test_user.py
- rlz/sql/create_test_user_18133922183.py
- rlz/sql/check_test_users.py
========================================