- 去掉调试代码(门店状态报警只发老板)

This commit is contained in:
gazebo
2019-09-19 16:31:24 +08:00
parent 4917b8fca6
commit 72f9852d42
5 changed files with 9 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ import (
)
func SendDDUserMessage(msgType, ddUserID, title, content string) (err error) {
globals.SugarLogger.Debugf("SendDDUserMessage ddUserID:%s, title:%s, content:%s", ddUserID, title, content)
globals.SugarLogger.Debugf("SendDDUserMessage ddUserID:%s, title:%s", ddUserID, title)
if globals.IsProductEnv() {
if msgType == dingdingapi.MsgTyeText {
err = api.DingDingAPI.CorpAsyncSendSimple(ddUserID, content)
@@ -24,7 +24,7 @@ func SendDDUserMessage(msgType, ddUserID, title, content string) (err error) {
}
func SendUserMessage(msgType, userID, title, content string) (err error) {
globals.SugarLogger.Debugf("SendUserMessage userID:%s, title:%s, content:%s", userID, title, content)
globals.SugarLogger.Debugf("SendUserMessage userID:%s, title:%s", userID, title)
authList, err := auth2.GetUserBindAuthInfo(userID)
findOneMethod := false
if err == nil {