|
|
@@ -352,7 +352,7 @@ public class CmsAdminUserController {
|
|
|
AuthRedirect redirect = new AuthRedirect().setMappingId(mappingId);
|
|
|
redirect.setUrl(redirectUrl);
|
|
|
String state = Codec.DoBase64.custom().setData(Jsons.toJson(redirect)).encodeAsText();
|
|
|
- String wxAuthUrl = authorizationService.createWxAuthLoginUrl(state, wxOpenPlatYHLXLoginConfig.getAppId(), wxOpenPlatYHLXLoginConfig.getCpsRedirectUri());
|
|
|
+ String wxAuthUrl = authorizationService.createWxAuthLoginUrl(state, wxOpenPlatYHLXLoginConfig.getAppId(), wxOpenPlatYHLXLoginConfig.getManageRedirectUri());
|
|
|
cpsAuthDto.setAuthUrl(wxAuthUrl);
|
|
|
cpsAuthDto.setAuthState(authState);
|
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult(cpsAuthDto);
|