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"
"errors"
"fmt"
"math/rand"
"time"
"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,
"body": msg,
"click_type": "startapp",
"notify_id": rand.Intn(1000000000), // 每次通知需要不一样 范围0-2147483647
//"notify_id": rand.Intn(1000000000),
"notify_id": time.Now().Unix(), // 每次通知需要不一样 范围0-2147483647
},
"options": options,
},