1
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user