@@ -181,6 +181,7 @@ func (s *Short) LoginCommon(sess map[string]interface{}, stype, id string, bm bo
log.Println(s.ResponseWriter, "Failed to fetch page", http.StatusInternalServerError)
return
}
+ req.Header.Set("mobile_index", "wx")
req.Header.Set("X-Forwarded-For", util.GetIp(s.Request))
client := &http.Client{}
// 使用 Do 方法处理请求
@@ -108,6 +108,7 @@ func (s *Short) Article(contentType, stype, id string) error {
+ req.Header.Set("mobile_index", "app")