This commit is contained in:
苏尹岚
2021-03-08 16:00:20 +08:00
parent 74db22c236
commit 4c06b4a8c6
3 changed files with 50 additions and 0 deletions

View File

@@ -383,3 +383,24 @@ func GetManageState(ctx *jxcontext.Context, cityCodes []int, vendorID int) (getM
}
return getManageStateResult, err
}
type GetStoreManageStateResult struct {
StoreID int `json:"storeID"`
StoreName string `json:"storeName"`
CoverArea int `json:"coverArea"`
MarketScale int `json:"marketScale"` //市场规模
OpenTime int `json:"openTime"` //营业时长
SkuCount int `json:"skuCount"` //商品数
HighSkuCount int `json:"highSkuCount"` //虚高商品数
ActAmple int `json:"actAmple"` //活动丰富的
NullOrderCount int `json:"nullOrderCount"` //无效订单数
RefuseOrderCount int `json:"refuseOrderCount"` //拒绝订单数
RepurchaseRate int `json:"repurchaseRate"` //复购率(转化率)
}
func GetStoreManageState(ctx *jxcontext.Context, storeIDs []int, vendorID int, fromTime, toTime string) (getStoreManageStateResult *GetStoreManageStateResult, err error) {
return &GetStoreManageStateResult{
StoreID: 1,
StoreName: "1",
}, err
}