Browse Source

feat:微信浏览器

wangshan 3 years ago
parent
commit
57c172aeb3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/qfw/util/common.go

+ 1 - 1
src/qfw/util/common.go

@@ -709,7 +709,7 @@ func RetainDecimal(v float64, n int) float64 {
 }
 
 //判断是否是微信访问
-func CheckWxBrowser(Request *http.Request) bool {
+func IsWxBrowser(Request *http.Request) bool {
 	if strings.Index(Request.UserAgent(), "MicroMessenger") > -1 || strings.Index(Request.UserAgent(), "Wechat") > -1 {
 		return true
 	} else {