|
|
@@ -89,7 +89,7 @@ public class AuthorizationController {
|
|
|
private final TemplateCommonService templateCommonService;
|
|
|
|
|
|
@GetMapping(value = "/weChat")
|
|
|
- public void base(String url, String dsCode, Long sharedId, Integer dsType, Long popularizeId, String authType, String callbackType, String callback, HttpServletResponse response) throws Exception {
|
|
|
+ public void base(String url, String dsCode, Long sharedId, Integer dsType, Long popularizeId, String authType, String callbackType, String callback, String customId, HttpServletResponse response) throws Exception {
|
|
|
|
|
|
log.info("微信授权转跳. url: {},authType:{}", url, authType);
|
|
|
|
|
|
@@ -103,6 +103,7 @@ public class AuthorizationController {
|
|
|
dsCode = dsCode.trim();
|
|
|
}
|
|
|
AuthRedirect redirect = new AuthRedirect().setMappingId(mappingId).setSharedId(sharedId).setDsType(dsType).setPid(popularizeId).setDsCode(dsCode)
|
|
|
+ .setCd(customId)
|
|
|
.setCk(callback)
|
|
|
.setCt(callbackType);
|
|
|
String state = Codec.DoBase64.custom().setData(Jsons.toJson(redirect)).encodeAsText();
|