feat(用户): 实现邮箱绑定功能并返回登录凭证
Build docker and publish / build (20.15.1) (push) Successful in 7m41s

修改绑定邮箱接口返回登录凭证,优化用户数据迁移流程
添加用户缓存清理逻辑,确保设备绑定后数据一致性
完善邮箱验证和绑定逻辑的注释和错误处理
This commit is contained in:
2025-10-23 10:07:59 -07:00
parent 38655c0d38
commit fde3210a88
8 changed files with 217 additions and 72 deletions
+2 -2
View File
@@ -172,8 +172,8 @@ func bindEmailWithPassword(serverURL, secret, token, email, password, userAgent
func main() {
secret := "c0qhq99a-nq8h-ropg-wrlc-ezj4dlkxqpzx"
serverURL := "http://localhost:8080"
identifier := "AP4A.241205.013"
serverURL := "http://127.0.0.1:8080"
identifier := "AP4A.241205.A17"
userAgent := "ppanel-go-test/1.0"
plain := map[string]interface{}{