智能DNS中国家/地区线路下支持省/州的细分

This commit is contained in:
刘祥超
2024-03-14 20:12:24 +08:00
parent b314f7e96c
commit debb72c2d3
8 changed files with 410 additions and 174 deletions

View File

@@ -13,4 +13,5 @@ message RegionCountry {
repeated string customCodes = 6;
string displayName = 7;
bool isCommon = 8; // 是否常用
string routeCode = 9; // 线路代号
}

View File

@@ -3,6 +3,9 @@ option go_package = "./pb";
package pb;
import "models/model_region_country.proto";
// 省份|州|区域信息
message RegionProvince {
int64 id = 1;
string name = 2;
@@ -11,4 +14,6 @@ message RegionProvince {
string customName = 5;
repeated string customCodes = 6;
string displayName = 7;
RegionCountry regionCountry = 30; // 国家|地区信息
}