feat: user base
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package user;
|
||||
option go_package="./user";
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
|
||||
service User {
|
||||
rpc Create(CreateReq) returns (Response) {
|
||||
option (google.api.http) = {
|
||||
post: "/customer/v3/login"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
rpc Register(RegisterReq) returns (Response) {
|
||||
option (google.api.http) = {
|
||||
post: "/customer/v3/register"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user