This commit is contained in:
苏尹岚
2021-04-12 11:30:48 +08:00
parent fd4caa1a73
commit e802d32dc0
3 changed files with 6 additions and 1 deletions

View File

@@ -228,7 +228,7 @@ func (p *PurchaseHandler) getUploadImgPoiCode() (poiCode string) {
func getAPI(appOrgCode string, storeID int, vendorStoreID string) (apiObj *mtwmapi.API) {
if appOrgCode == "" {
globals.SugarLogger.Warnf("getAPI appOrgCode is empty")
globals.SugarLogger.Debugf("getAPI appOrgCode is empty")
}
apiObj = partner.CurAPIManager.GetAPI(model.VendorIDMTWM, appOrgCode).(*mtwmapi.API)
if appOrgCode == globals.Mtwm2Code {

View File

@@ -71,6 +71,7 @@ func (c *PurchaseHandler) RefreshComment(fromTime, toTime time.Time) (err error)
ModifyDuration: BAD_COMMENTS_MAX_MODIFY_TIME,
OriginalMsg: string(utils.MustMarshal(mtwmComment)),
IsReplied: int8(mtwmComment.ReplyStatus),
StoreID: storeMap.StoreID,
}
if orderComment.IsReplied == 0 {
orderComment.Content = mtwmComment.CommentContent