This commit is contained in:
wangchuxiao
2022-12-21 17:39:48 +08:00
parent 1f7e788585
commit 49b21fb577
+2 -2
View File
@@ -130,7 +130,7 @@ func newGetuiClient() *Getui {
func (g *Getui) Push(userIDList []string, title, detailContent, operationID string, opts push.PushOpts) (resp string, err error) {
token, err := db.DB.GetGetuiToken()
log.NewDebug(operationID, utils.GetSelfFuncName(), "token", token)
log.NewDebug(operationID, utils.GetSelfFuncName(), "token", token, userIDList)
if err != nil {
log.NewError(operationID, utils.GetSelfFuncName(), "GetGetuiToken failed", err.Error())
}
@@ -153,7 +153,7 @@ func (g *Getui) Push(userIDList []string, title, detailContent, operationID stri
}
if len(userIDList) > 1 {
taskID, err := db.DB.GetGetuiTaskID()
log.NewDebug(operationID, utils.GetSelfFuncName(), "token", token)
log.NewDebug(operationID, utils.GetSelfFuncName(), "taskID", taskID)
if err != nil {
log.NewError(operationID, utils.GetSelfFuncName(), "GetGetuiTaskID failed", err.Error())
}