Browse Source

体积小

XMLWAN 3 years ago
parent
commit
2b3993e438
1 changed files with 2 additions and 2 deletions
  1. 2 2
      controllers/xcx_mobile_api_controller.go/xcx_api_controller.go

+ 2 - 2
controllers/xcx_mobile_api_controller.go/xcx_api_controller.go View File

@@ -1051,8 +1051,8 @@ func (this *XcxApiController) GetAppId() {
1051 1051
 	var appid = "wxcdf53b48b7df107e"
1052 1052
 	var secret = "94e944a69ad1d43ac447f5a8769ab801"
1053 1053
 	var grant_type = "authorization_code"
1054
-	//code := this.GetString("js_code")
1055
-	var code = "041pXnGa1eLxTB0iypFa1W6USs1pXnGK"
1054
+	code := this.GetString("js_code")
1055
+	//var code = "041pXnGa1eLxTB0iypFa1W6USs1pXnGK"
1056 1056
 
1057 1057
 	openId, _ := service.SendWxAuthAPI(appid, secret, grant_type, code)
1058 1058
 	//session_key, _ := service.SendWxAuthAPIOne(appid, secret, grant_type, code)