notification优化

This commit is contained in:
hahwu 2026-02-28 10:17:15 +08:00
parent b856dfb5ff
commit 0e391bc071

View File

@ -564,7 +564,9 @@ const (
)
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"
method := "POST"
executeId := fmt.Sprintf("%s_%s", PROJECT_ID, Rand8DigitNumber()+Rand8DigitNumber())