输出调试信息

This commit is contained in:
苏尹岚
2020-01-13 11:56:57 +08:00
parent e7e02fea33
commit 1cf96a0592

View File

@@ -2306,9 +2306,11 @@ func GetTopSkusByCityCode(ctx *jxcontext.Context, cityCode, storeID int) (skuNam
sku[0].Price = int(storeSkuSync.Price)
skuList = append(skuList, sku...)
}
globals.SugarLogger.Debugf("test", storeSkuSyncInfo)
v.UnitPrice = int(storeSkuSyncInfo[0].UnitPrice)
v.Skus = skuList
for _, vv := range skuList {
globals.SugarLogger.Debugf("test1", vv)
var (
storeSkuNameExt []*dao.StoreSkuNameExt
skusList []*dao.StoreSkuExt