@@ -976,7 +976,9 @@ func UnSubscribe(w ResponseWriter, r *Request) {
if openid != "" {
redis.Del("push", "remind&&"+openid)
}
- unfollowSendMail(openid)
+ if gconv.Bool(config.Sysconfig["isSend"]) {
+ unfollowSendMail(openid)
+ }
}()