|
@@ -206,7 +206,6 @@ func (s *Short) Article(contentType, stype, id string) error {
|
|
|
if sid != "" {
|
|
|
obj = wxvisitD(sid, userId, (isVip && isOldVip) || isEntniche || isMember)
|
|
|
}
|
|
|
- log.Println("-----", id, sid, obj)
|
|
|
if obj != nil && len(obj) > 0 && surl == "" {
|
|
|
if userId != "" {
|
|
|
if ((isVip && isOldVip) || isMember || isEntniche) || //老版本vip、大会员、商机管理
|
|
@@ -435,7 +434,6 @@ func (s *Short) Article(contentType, stype, id string) error {
|
|
|
}
|
|
|
return s.SetBody(content)
|
|
|
} else if surl == "" {
|
|
|
- log.Println("-----", id, sid, "222")
|
|
|
return s.Redirect(getErrPageUrl(true, QueryErr), 302)
|
|
|
} else {
|
|
|
return s.Redirect(surl)
|