This commit is contained in:
richboo111
2023-07-12 16:57:55 +08:00
parent ab6d1c2764
commit 6ab899ea0d

View File

@@ -4,7 +4,6 @@ import (
"encoding/json" "encoding/json"
"errors" "errors"
"fmt" "fmt"
"math/rand"
"time" "time"
"git.rosy.net.cn/jx-callback/business/authz/autils" "git.rosy.net.cn/jx-callback/business/authz/autils"
@@ -234,7 +233,8 @@ func pushMsgByUniApp(storeId int, storeName string, cID []string, msg string, bo
"title": storeName, "title": storeName,
"body": msg, "body": msg,
"click_type": "startapp", "click_type": "startapp",
"notify_id": rand.Intn(1000000000), // 每次通知需要不一样 范围0-2147483647 //"notify_id": rand.Intn(1000000000),
"notify_id": time.Now().Unix(), // 每次通知需要不一样 范围0-2147483647
}, },
"options": options, "options": options,
}, },