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