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
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:
+12
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user