|
@@ -28,8 +28,9 @@ type config struct {
|
|
|
TestIds []string `json:"testIds"`
|
|
|
WeixinRpcServer string `json:"weixinRpcServer"`
|
|
|
WxColor string `json:"wxColor"`
|
|
|
- WxGroup string `json:"wxGroup"`
|
|
|
WxTitle string `json:"wxTitle"`
|
|
|
+ WxType string `json:"wxType"`
|
|
|
+ VipWxType string `json:"vipWxType"`
|
|
|
VipWxTitle string `json:"vipWxTitle"`
|
|
|
WxDetailColor string `json:"wxDetailColor"`
|
|
|
AppPushServiceRpc string `json:"appPushServiceRpc"`
|
|
@@ -91,7 +92,6 @@ var (
|
|
|
Gmails []*mail.GmailAuth
|
|
|
Config *config
|
|
|
ProjectTask *projectTask
|
|
|
- WxGroupLen int
|
|
|
FastigiumStart int
|
|
|
FastigiumEnd int
|
|
|
)
|
|
@@ -104,7 +104,6 @@ func init() {
|
|
|
FastigiumStart = util.IntAll(fastigiumTimes[0])
|
|
|
FastigiumEnd = util.IntAll(fastigiumTimes[1])
|
|
|
}
|
|
|
- WxGroupLen = len([]rune(Config.WxGroup))
|
|
|
Gmails = make([]*mail.GmailAuth, len(Config.Mails))
|
|
|
for k, v := range Config.Mails {
|
|
|
Gmails[k] = &mail.GmailAuth{
|