增加封禁省份管理

This commit is contained in:
GoEdgeLab
2020-11-06 11:30:42 +08:00
parent 0d48dcf174
commit b4896e03a2

View File

@@ -106,7 +106,7 @@ func (this *RegionProvinceDAO) FindAllEnabledProvincesWithCountryId(countryId in
_, err = this.Query(). _, err = this.Query().
State(RegionProvinceStateEnabled). State(RegionProvinceStateEnabled).
Attr("countryId", countryId). Attr("countryId", countryId).
Asc("name"). Asc().
Slice(&result). Slice(&result).
FindAll() FindAll()
return return