feat: aliyun sms
This commit is contained in:
@@ -87,9 +87,20 @@ message RevokeBizClientData {
|
||||
bool revoked = 1;
|
||||
}
|
||||
|
||||
message SendSmsReq {
|
||||
string mobile = 1;
|
||||
int32 scene = 2;
|
||||
}
|
||||
|
||||
message InfoReq {}
|
||||
|
||||
service User {
|
||||
rpc SendSms(SendSmsReq) returns (Response) {
|
||||
option (google.api.http) = {
|
||||
post: "/api/v3/sms/send"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
rpc Login(LoginReq) returns (Response) {
|
||||
option (google.api.http) = {
|
||||
post: "/api/v3/login"
|
||||
|
||||
Reference in New Issue
Block a user