|
@@ -33,7 +33,7 @@ func (this *pcFilter) Do() bool {
|
|
if this.R.Method == "POST" {
|
|
if this.R.Method == "POST" {
|
|
return true
|
|
return true
|
|
}
|
|
}
|
|
- if userAgent := this.R.UserAgent(); mobileReg.MatchString(userAgent) || public.CheckWxBrowser(this.R) {
|
|
|
|
|
|
+ if userAgent := this.R.UserAgent(); mobileReg.MatchString(userAgent) || public.CheckWxBrowser(this.R) || strings.Contains(userAgent, "JianyuDebug") {
|
|
//wx
|
|
//wx
|
|
return true
|
|
return true
|
|
}
|
|
}
|