|
|
@@ -28,7 +28,7 @@ public class WeChatRedirectController {
|
|
|
@GetMapping("/page")
|
|
|
public void redirectRequest(@RequestParam("code") String code, HttpServletResponse response){
|
|
|
try {
|
|
|
- response.sendRedirect("http://staticweb.hnthyy.cn/wxService/" + code);
|
|
|
+ response.sendRedirect("https://staticweb.hnthyy.cn/wxService/" + code);
|
|
|
} catch (IOException e) {
|
|
|
throw new RuntimeException(e);
|
|
|
}
|
|
|
@@ -40,7 +40,7 @@ public class WeChatRedirectController {
|
|
|
@RequestParam("code") String code,
|
|
|
HttpServletResponse response){
|
|
|
try {
|
|
|
- response.sendRedirect("http://staticweb.hnthyy.cn/wxService/" + code + '/' + to);
|
|
|
+ response.sendRedirect("https://staticweb.hnthyy.cn/wxService/" + code + '/' + to);
|
|
|
} catch (IOException e) {
|
|
|
throw new RuntimeException(e);
|
|
|
}
|