|
|
@ -39,7 +39,8 @@ public class AppLetAuthorizationServiceImpl implements AppLetAuthorizationServic |
|
|
|
String customerId = paCustomerAgencyDao.getCustomerIdByUserId(userId); |
|
|
|
//获取预授权码
|
|
|
|
String preAuthCode = componentVerifyTicketService.preAuthCode(); |
|
|
|
String redirectUrl = String.format(WxMaCodeConstant.API_RETURN_REDIRECT_URL, customerId,formDTO.getClientType()); |
|
|
|
// String redirectUrl = String.format(WxMaCodeConstant.API_RETURN_REDIRECT_URL, customerId,formDTO.getClientType());
|
|
|
|
String redirectUrl = WxMaCodeConstant.WEB_URL; |
|
|
|
String authUrl = String.format(WxMaCodeConstant.API_AUTH_REGISTER_URL, componentAppId, preAuthCode, redirectUrl); |
|
|
|
result.setUrl(authUrl); |
|
|
|
return result; |
|
|
|