aa
This commit is contained in:
@@ -6,6 +6,8 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"git.rosy.net.cn/jx-callback/globals/api"
|
||||
|
||||
push "git.rosy.net.cn/jx-callback/business/jxutils/unipush"
|
||||
|
||||
"github.com/astaxie/beego"
|
||||
@@ -1620,7 +1622,9 @@ func OrderProfitWarning(order *model.GoodsOrder) {
|
||||
}
|
||||
userIDs = append(userIDs, user2.UserID)
|
||||
for _, v := range userIDs {
|
||||
ddmsg.SendUserMessage(dingdingapi.MsgTyeText, v, "警告!此订单利润低于0", noticeMsg)
|
||||
if api.DingDingAPI.GetToken() != "" {
|
||||
ddmsg.SendUserMessage(dingdingapi.MsgTyeText, v, "警告!此订单利润低于0", noticeMsg)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user