aa
This commit is contained in:
@@ -431,7 +431,7 @@ func RefreshStoreManageState(ctx *jxcontext.Context) {
|
|||||||
//营业状态
|
//营业状态
|
||||||
storeManage.VendorStatus = store.Status
|
storeManage.VendorStatus = store.Status
|
||||||
//不一致发消息
|
//不一致发消息
|
||||||
if storeDetail.VendorStatus != store.Status {
|
if storeDetail.Status != store.Status {
|
||||||
content := "您的门店 [" + storeDetail.Name + "],ID:[" + utils.Int2Str(storeDetail.ID) + "],在[" + model.VendorNames[vendorID] + "] 平台上营业状态和京西不一致!"
|
content := "您的门店 [" + storeDetail.Name + "],ID:[" + utils.Int2Str(storeDetail.ID) + "],在[" + model.VendorNames[vendorID] + "] 平台上营业状态和京西不一致!"
|
||||||
if user, err := dao.GetUserByID(db, "mobile", storeDetail.MarketManPhone); err == nil {
|
if user, err := dao.GetUserByID(db, "mobile", storeDetail.MarketManPhone); err == nil {
|
||||||
ddmsg.SendUserMessage(dingdingapi.MsgTyeText, user.UserID, "平台门店状态变化", content)
|
ddmsg.SendUserMessage(dingdingapi.MsgTyeText, user.UserID, "平台门店状态变化", content)
|
||||||
|
|||||||
Reference in New Issue
Block a user