|
@@ -94,7 +94,7 @@ public class AuthorizationController {
|
|
|
private final TemplateCommonService templateCommonService;
|
|
private final TemplateCommonService templateCommonService;
|
|
|
|
|
|
|
|
@GetMapping(value = "/weChat")
|
|
@GetMapping(value = "/weChat")
|
|
|
- public void base(String url, String dsCode, Long sharedId, Integer dsType, Long popularizeId, String authType, String callbackType, String callback, String customId, Integer cst, Integer cmt, 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, Integer cst, Integer cmt, Boolean cgTj, HttpServletResponse response) throws Exception {
|
|
|
log.info("微信授权转跳. url: {},authType:{}", url, authType);
|
|
log.info("微信授权转跳. url: {},authType:{}", url, authType);
|
|
|
if (StrUtil.isBlank(url)) {
|
|
if (StrUtil.isBlank(url)) {
|
|
|
url = "https://nf.video/";
|
|
url = "https://nf.video/";
|
|
@@ -114,6 +114,7 @@ public class AuthorizationController {
|
|
|
.setCk(callback)
|
|
.setCk(callback)
|
|
|
.setCt(callbackType)
|
|
.setCt(callbackType)
|
|
|
.setCst(cst)
|
|
.setCst(cst)
|
|
|
|
|
+ .setCgTj(cgTj)
|
|
|
.setCmt(cmt);
|
|
.setCmt(cmt);
|
|
|
String state = Codec.DoBase64.custom().setData(Jsons.toJson(redirect)).encodeAsText();
|
|
String state = Codec.DoBase64.custom().setData(Jsons.toJson(redirect)).encodeAsText();
|
|
|
|
|
|