a1c377489c
CI / changes (push) Successful in 38s
CI / ad (push) Successful in 29s
CI / admin (push) Successful in 20s
CI / bff (push) Successful in 15s
CI / chore (push) Successful in 17s
CI / equipment (push) Successful in 15s
CI / express (push) Successful in 16s
CI / product (push) Successful in 15s
CI / record (push) Successful in 15s
CI / sale (push) Successful in 16s
CI / task (push) Successful in 15s
CI / user (push) Successful in 16s
CI / wecom (push) Successful in 16s
34 lines
493 B
Protocol Buffer
34 lines
493 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package store;
|
|
option go_package="./store";
|
|
import "google/api/annotations.proto";
|
|
|
|
message EmptyRequest {
|
|
}
|
|
|
|
message IdRequest {
|
|
int64 id = 1;
|
|
}
|
|
|
|
message StatusRequest {
|
|
int64 id = 1;
|
|
int32 status = 2;
|
|
string reason = 3;
|
|
}
|
|
|
|
message Response {
|
|
int32 code = 1;
|
|
string msg = 2;
|
|
string data = 3;
|
|
}
|
|
|
|
service Store {
|
|
rpc Status(StatusRequest) returns(Response){
|
|
option (google.api.http) = {
|
|
post: "/admin/v3/store/status"
|
|
body: "*"
|
|
};
|
|
};
|
|
}
|