|
@@ -1055,9 +1055,9 @@ func (this *XcxApiController) GetAppId() {
|
1055
|
1055
|
var code = "041pXnGa1eLxTB0iypFa1W6USs1pXnGK"
|
1056
|
1056
|
|
1057
|
1057
|
openId, _ := service.SendWxAuthAPI(appid, secret, grant_type, code)
|
1058
|
|
- session_key, _ := service.SendWxAuthAPIOne(appid, secret, grant_type, code)
|
|
1058
|
+ //session_key, _ := service.SendWxAuthAPIOne(appid, secret, grant_type, code)
|
1059
|
1059
|
this.ServeSuccessJSON(map[string]interface{}{
|
1060
|
|
- "openId": openId,
|
1061
|
|
- "session_key": session_key,
|
|
1060
|
+ "data": openId,
|
|
1061
|
+ //"session_key": session_key,
|
1062
|
1062
|
})
|
1063
|
1063
|
}
|