dengbiao 4 months ago
parent
commit
f520aa8441
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/hdl/hdl_wx_open.go

+ 1
- 1
app/hdl/hdl_wx_open.go View File

@@ -169,7 +169,7 @@ func GetPreAuthCode(c *gin.Context) {
authURL := baseURL + "?" + query.Encode() authURL := baseURL + "?" + query.Encode()


// 设置JavaScript重定向 // 设置JavaScript重定向
t ad c.Header("Content-Type", "text/html") //TODO::必须指定相应内容为 text/html, 否则浏览器不能正确解析
c.Header("Content-Type", "text/html") //TODO::必须指定相应内容为 text/html, 否则浏览器不能正确解析
c.String(200, ` c.String(200, `


<script> <script>


Loading…
Cancel
Save