mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-06 01:50:25 +08:00
增加封禁省份管理
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user