|
@@ -52,7 +52,7 @@ public class WeChatRedirectController {
|
|
|
throw new RuntimeException(e);
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
@PassToken
|
|
|
@GetMapping("/page2")
|
|
|
public void redirectRequest2(@RequestParam("to") String to,
|
|
@@ -86,7 +86,7 @@ public class WeChatRedirectController {
|
|
|
dao.insertSelfMachineLogin(id);
|
|
|
}
|
|
|
// 推荐人预约挂号链接(history路由)。2801为推荐人工号,根据真实情况自行修改。
|
|
|
- // https://huaihai-tech.com/wxservice/pathEntry?path=appointment_recStaff-2801
|
|
|
+ // https://huaihai-tech.com/wxserver/redirect/pathEntry?path=appointment_recStaff-2801
|
|
|
try {
|
|
|
response.sendRedirect("https://open.weixin.qq.com/connect/oauth2/authorize?" +
|
|
|
"appid=wx85bf3fd255d86750&redirect_uri=https://huaihai-tech.com/wxserver/redirect/page2?" +
|
|
@@ -105,7 +105,7 @@ public class WeChatRedirectController {
|
|
|
dao.insertSelfMachineLogin(id);
|
|
|
}
|
|
|
// 推荐人预约挂号链接(hash路由)。2801为推荐人工号,根据真实情况自行修改。
|
|
|
- // https://huaihai-tech.com/wxservice/hashPathEntry?path=appointment_recStaff-2801
|
|
|
+ // https://huaihai-tech.com/wxserver/redirect/hashPathEntry?path=appointment_recStaff-2801
|
|
|
try {
|
|
|
response.sendRedirect("https://open.weixin.qq.com/connect/oauth2/authorize?" +
|
|
|
"appid=wx85bf3fd255d86750&redirect_uri=https://huaihai-tech.com/wxserver/redirect/hashPage2?" +
|