proto/service/notify.proto

22 lines
580 B
Protocol Buffer
Raw Normal View History

2023-11-30 03:05:42 +00:00
syntax = "proto3"; //版本声明使用v3版本
package notify;
option go_package = "gitlab.fusenpack.com/backend/notify;service";
// 导入google/api/annotations.proto 注释依赖
import "google/api/annotations.proto";
import "service/basic.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/any.proto";
//定义服务
service notify {
2023-12-01 10:01:03 +00:00
// 邮件注册确认
rpc EmailRegisterConfirm(basic.Request) returns (basic.Response) {
2023-11-30 03:05:42 +00:00
option (google.api.http) = {
post: "/api/notify/email"
body: "*"
};
}
}