feat: rebind mobile
CI / changes (push) Successful in 1m57s
CI / ad (push) Successful in 1s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 26s
CI / chore (push) Successful in 26s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 0s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 1s
CI / payment (push) Successful in 0s
CI / percutaneous (push) Successful in 1s
CI / product (push) Successful in 0s
CI / record (push) Successful in 1s
CI / sale (push) Successful in 0s
CI / support (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 28s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 0s

This commit is contained in:
zzw
2026-10-21 14:21:19 +08:00
parent 8db28b074a
commit 3517713853
10 changed files with 327 additions and 106 deletions
+12 -1
View File
@@ -60,6 +60,12 @@ service User {
body: "*"
};
}
rpc RebindMobile(RebindMobileReq) returns (Response) {
option (google.api.http) = {
put: "/api/v3/user/mobile/rebind"
body: "*"
};
}
rpc Client(ClientReq) returns (Response) {
option (google.api.http) = {
get: "/admin/v3/user/client"
@@ -273,6 +279,12 @@ message BindMobileReq {
string code = 1;
}
message RebindMobileReq {
string old_mobile = 1;
string new_mobile = 2;
string sms_code = 3;
}
message InfoReq {}
message UpdateReq {
@@ -282,7 +294,6 @@ message UpdateReq {
string birthday = 4;
string mobile = 5;
string real_name = 6;
string sms_code = 7;
}
message PasswordReq {