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

This commit is contained in:
GoEdgeLab
2024-03-14 20:12:24 +08:00
parent 7c691727d0
commit 6734406e4e
8 changed files with 410 additions and 174 deletions
@@ -13,4 +13,5 @@ message RegionCountry {
repeated string customCodes = 6;
string displayName = 7;
bool isCommon = 8; // 是否常用
string routeCode = 9; // 线路代号
}
@@ -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; // 国家|地区信息
}