This commit is contained in:
Gordon 2022-02-18 15:16:33 +08:00
parent 45c43888e7
commit e90d8a87ee
2 changed files with 7 additions and 2 deletions

View File

@ -173,6 +173,8 @@ messagecallback:
callbackUrl: "http://www.xxx.com/msg/judge" callbackUrl: "http://www.xxx.com/msg/judge"
#TimeOut use second as unit #TimeOut use second as unit
callbackTimeOut: 10 callbackTimeOut: 10
messagejudge:
isJudgeFriend: true
# c2c: # c2c:
# callbackBeforeSendMsg: # callbackBeforeSendMsg:
# switch: false # switch: false

View File

@ -162,6 +162,9 @@ type config struct {
CallbackUrl string `yaml:"callbackUrl"` CallbackUrl string `yaml:"callbackUrl"`
CallBackTimeOut int `yaml:"callbackTimeOut"` CallBackTimeOut int `yaml:"callbackTimeOut"`
} }
MessageJudge struct {
IsJudgeFriend bool `yaml:"isJudgeFriend"`
}
IOSPush struct { IOSPush struct {
PushSound string `yaml:"pushSound"` PushSound string `yaml:"pushSound"`
BadgeCount bool `yaml:"badgeCount"` BadgeCount bool `yaml:"badgeCount"`