notification优化
This commit is contained in:
parent
b856dfb5ff
commit
0e391bc071
@ -564,7 +564,9 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func NotifyPlayer(uid, pushid int, title, content string) {
|
func NotifyPlayer(uid, pushid int, title, content string) {
|
||||||
|
if uid == 0 {
|
||||||
|
return
|
||||||
|
}
|
||||||
url := "https://tygapi-new.tuyooglobal.com/api/push/ga/push_message/project_trigger"
|
url := "https://tygapi-new.tuyooglobal.com/api/push/ga/push_message/project_trigger"
|
||||||
method := "POST"
|
method := "POST"
|
||||||
executeId := fmt.Sprintf("%s_%s", PROJECT_ID, Rand8DigitNumber()+Rand8DigitNumber())
|
executeId := fmt.Sprintf("%s_%s", PROJECT_ID, Rand8DigitNumber()+Rand8DigitNumber())
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user