From 68955376d85efa69bd29fce4af194c0581448277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Thu, 5 Mar 2020 09:31:30 +0800 Subject: [PATCH] =?UTF-8?q?sku=E5=A2=9E=E5=8A=A0=E7=89=A9=E6=96=99id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/sync.go | 2 +- business/model/sku.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/business/jxstore/cms/sync.go b/business/jxstore/cms/sync.go index 76058a487..de53fadab 100644 --- a/business/jxstore/cms/sync.go +++ b/business/jxstore/cms/sync.go @@ -666,7 +666,7 @@ func buildSetFinishHook(task tasksch.ITask, ctx *jxcontext.Context) { }else { if time.Now().Hour() >= 20 || time.Now().Hour() < 7 { downloadURL, _, _ := WirteToExcelBySyncFailed(task) - user, err := dao.GetUserByID(dao.GetDB(), "mobile", "") + user, err := dao.GetUserByID(dao.GetDB(), "mobile", "18160030913") noticeMsg += fmt.Sprintf("[详情点我]%s/billshow/?normal=true&path=%s \n", globals.BackstageHost, downloadURL) if user != nil && err == nil { ddmsg.SendUserMessage(dingdingapi.MsgTyeText, user.UserID, "同步错误返回", noticeMsg) diff --git a/business/model/sku.go b/business/model/sku.go index d323a9a38..3f47cf8f4 100644 --- a/business/model/sku.go +++ b/business/model/sku.go @@ -228,8 +228,9 @@ type Sku struct { Status int `json:"status"` Seq int `json:"seq"` - ExdSkuID string `orm:"column(exd_sku_id)" json:"exdSkuID"` + ExdSkuID string `orm:"column(exd_sku_id)" json:"exdSkuID"` //饿鲜达商品ID ExdCategoryThirdID int `orm:"column(exd_category_third_id)" json:"exdCategoryThirdID"` + EclpID int `orm:"column(eclp_id)" json:"eclpID"` //eclp物料商品ID // JdID int64 `orm:"column(jd_id);null;index" json:"jdID"` // JdSyncStatus int8 `orm:"default(2)" json:"jdSyncStatus"`