1
This commit is contained in:
@@ -44,6 +44,7 @@ func formalizeTagList(mtwmTagList string) (outTagList string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *PurchaseHandler) RefreshComment(fromTime, toTime time.Time) (err error) {
|
func (c *PurchaseHandler) RefreshComment(fromTime, toTime time.Time) (err error) {
|
||||||
|
globals.SugarLogger.Debugf("--------------------------------------------------------------")
|
||||||
//storeMapList, err2 := dao.GetStoresMapList(dao.GetDB(), []int{model.VendorIDMTWM}, nil, nil, model.StoreStatusAll, model.StoreIsSyncYes, "", "", "")
|
//storeMapList, err2 := dao.GetStoresMapList(dao.GetDB(), []int{model.VendorIDMTWM}, nil, nil, model.StoreStatusAll, model.StoreIsSyncYes, "", "", "")
|
||||||
//if err = err2; err != nil {
|
//if err = err2; err != nil {
|
||||||
// return err
|
// return err
|
||||||
@@ -62,7 +63,9 @@ func (c *PurchaseHandler) RefreshComment(fromTime, toTime time.Time) (err error)
|
|||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
// 查询门店差评
|
// 查询门店差评
|
||||||
commentList, _ := getAPI(storeDetail.VendorOrgCode, storeID, storeDetail.VendorStoreID).CommentQuery(storeDetail.VendorStoreID, startDateStr, endDateStr, 0, 0, mtwmapi.CommentReplyStatusNotReplied)
|
commentList, err := getAPI(storeDetail.VendorOrgCode, storeID, storeDetail.VendorStoreID).CommentQuery(storeDetail.VendorStoreID, startDateStr, endDateStr, 0, 0, mtwmapi.CommentReplyStatusNotReplied)
|
||||||
|
globals.SugarLogger.Debugf("========commentList:%s", storeDetail.VendorStoreID)
|
||||||
|
globals.SugarLogger.Debugf("========commentList:%v", err)
|
||||||
if storeDetail.VendorStoreID == "23932637" {
|
if storeDetail.VendorStoreID == "23932637" {
|
||||||
globals.SugarLogger.Debugf("commentList --------------- := %s", utils.Format4Output(commentList, false))
|
globals.SugarLogger.Debugf("commentList --------------- := %s", utils.Format4Output(commentList, false))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user