|
|
@@ -198,7 +198,8 @@ public class TtOpenComponentServiceImpl implements TtOpenComponentService { |
|
|
|
JsonObject jsonObject = new JsonObject(); |
|
|
|
jsonObject.addProperty("component_appid", getWxOpenConfigStorage().getComponentAppId()); |
|
|
|
String responseContent = post(API_CREATE_PREAUTHCODE_URL, jsonObject.toString(),"component_access_token"); |
|
|
|
jsonObject = WxGsonBuilder.create().fromJson(responseContent, JsonObject.class); |
|
|
|
log.info(responseContent +"----------responseContent"); |
|
|
|
jsonObject = TtOpenGsonBuilder.create().fromJson(responseContent, JsonObject.class); |
|
|
|
|
|
|
|
StringBuilder preAuthUrl = new StringBuilder(String.format(COMPONENT_LOGIN_PAGE_URL, |
|
|
|
getWxOpenConfigStorage().getComponentAppId(), |
|
|
|