增加国家/地区封禁管理

This commit is contained in:
刘祥超
2020-11-06 11:02:18 +08:00
parent a5d8d3f626
commit 3b4a9ed4cf
12 changed files with 1326 additions and 174 deletions

View File

@@ -0,0 +1,21 @@
syntax = "proto3";
option go_package = "./pb";
package pb;
import "model_region_province.proto";
// 省份相关服务
service RegionProvinceService {
// 查找所有省份
rpc findAllEnabledRegionProvincesWithCountryId (FindAllEnabledRegionProvincesWithCountryIdRequest) returns (FindAllEnabledRegionProvincesWithCountryIdResponse);
}
// 查找所有省份
message FindAllEnabledRegionProvincesWithCountryIdRequest {
int64 countryId = 1;
}
message FindAllEnabledRegionProvincesWithCountryIdResponse {
repeated RegionProvince provinces = 1;
}