门店红线-写入和统计数据
This commit is contained in:
@@ -36,7 +36,8 @@ type StoreAlert struct {
|
||||
|
||||
type StoreAlertEx struct {
|
||||
StoreAlert
|
||||
StoreName string `json:"storeName"`
|
||||
StoreName string `orm:"column(store_name)" json:"storeName"`
|
||||
CityName string `orm:"column(city_name)" json:"cityName"`
|
||||
}
|
||||
|
||||
type StoreAlertProperty struct {
|
||||
@@ -49,6 +50,8 @@ type StoreAlertAdvanced struct {
|
||||
CreatedTime time.Time `json:"createdTime"`
|
||||
AlertDate time.Time `json:"alertDate"`
|
||||
StoreID int `json:"storeID"`
|
||||
StoreName string `json:"storeName"`
|
||||
CityName string `json:"cityName"`
|
||||
|
||||
PickTimeDaDa StoreAlertProperty
|
||||
BadComment StoreAlertProperty
|
||||
@@ -64,8 +67,8 @@ type StoreAlertAdvanced struct {
|
||||
}
|
||||
|
||||
type StoreAlertData struct {
|
||||
StoreAlertList []*StoreAlertEx `json:"storeAlertList"`
|
||||
TotalCount int `json:"totalCount"`
|
||||
StoreAlertList []*StoreAlertAdvanced `json:"storeAlertList"`
|
||||
TotalCount int `json:"totalCount"`
|
||||
}
|
||||
|
||||
type StoreOrderTime struct {
|
||||
|
||||
Reference in New Issue
Block a user