1
This commit is contained in:
@@ -72,6 +72,7 @@ func OnImMsg(msg *mtwmapi.ImCallbackMsg) (response *mtwmapi.CallbackResponse) {
|
|||||||
}
|
}
|
||||||
storeDetail, err2 := dao.GetStoreDetailByVendorStoreID(dao.GetDB(), PushContentReq.AppPoiCode, model.VendorIDMTWM, utils.Int2Str(PushContentReq.AppID))
|
storeDetail, err2 := dao.GetStoreDetailByVendorStoreID(dao.GetDB(), PushContentReq.AppPoiCode, model.VendorIDMTWM, utils.Int2Str(PushContentReq.AppID))
|
||||||
if err2 == nil || storeDetail == nil {
|
if err2 == nil || storeDetail == nil {
|
||||||
|
msg.PushContent = string(str)
|
||||||
switch beego.BConfig.RunMode {
|
switch beego.BConfig.RunMode {
|
||||||
case model.ServerTypeFruits:
|
case model.ServerTypeFruits:
|
||||||
globals.SugarLogger.Debugf("----------msg pet := %s", utils.Format4Output(msg, false))
|
globals.SugarLogger.Debugf("----------msg pet := %s", utils.Format4Output(msg, false))
|
||||||
|
|||||||
Reference in New Issue
Block a user