add jpush offline notification

This commit is contained in:
Gordon
2021-10-28 09:51:36 +08:00
parent 97fa1146b2
commit 30be5c2c48
13 changed files with 287 additions and 90 deletions

View File

@@ -8,9 +8,9 @@ import (
var Config config
type config struct {
ServerIP string `yaml:"serverip"`
Api struct {
ServerIP string `yaml:"serverip"`
ServerVersion string `yaml:"serverversion"`
Api struct {
GinPort []int `yaml:"openImApiPort"`
}
Sdk struct {
@@ -110,6 +110,10 @@ type config struct {
SecretKey string `yaml:"secretKey"`
}
}
Jpns struct {
AppKey string `yaml:"appKey"`
MasterSecret string `yaml:"masterSecret"`
}
}
Manager struct {
AppManagerUid []string `yaml:"appManagerUid"`