1
This commit is contained in:
@@ -70,6 +70,8 @@ func OnImMsg(msg *mtwmapi.ImCallbackMsg) (response *mtwmapi.CallbackResponse) {
|
||||
if err = json.Unmarshal(str, &PushContentReq); err != nil {
|
||||
return mtwmapi.SignatureIsNotOk
|
||||
}
|
||||
globals.SugarLogger.Debugf("----------msg := %s", utils.Format4Output(msg, false))
|
||||
globals.SugarLogger.Debugf("----------PushContentReq := %s", utils.Format4Output(PushContentReq, false))
|
||||
storeDetail, err2 := dao.GetStoreDetailByVendorStoreID(dao.GetDB(), PushContentReq.AppPoiCode, model.VendorIDMTWM, utils.Int2Str(PushContentReq.AppID))
|
||||
if err2 != nil || storeDetail == nil {
|
||||
switch beego.BConfig.RunMode {
|
||||
|
||||
Reference in New Issue
Block a user