mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-30 01:46:37 +08:00
访问日志增加区域和ISP信息
This commit is contained in:
20
internal/db/models/region_country_model.go
Normal file
20
internal/db/models/region_country_model.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package models
|
||||
|
||||
//
|
||||
type RegionCountry struct {
|
||||
Id uint32 `field:"id"` // ID
|
||||
Name string `field:"name"` // 名称
|
||||
Codes string `field:"codes"` // 代号
|
||||
State uint8 `field:"state"` // 状态
|
||||
}
|
||||
|
||||
type RegionCountryOperator struct {
|
||||
Id interface{} // ID
|
||||
Name interface{} // 名称
|
||||
Codes interface{} // 代号
|
||||
State interface{} // 状态
|
||||
}
|
||||
|
||||
func NewRegionCountryOperator() *RegionCountryOperator {
|
||||
return &RegionCountryOperator{}
|
||||
}
|
||||
Reference in New Issue
Block a user