|
@@ -48,6 +48,9 @@ public class WxLoginController {
|
|
|
@ApiOperation(value = "用户默认授权,获取code")
|
|
|
@GetMapping("/menuOauth")
|
|
|
public R<String> getOpenid() {
|
|
|
+ // 带shenzeVue 的url 会经nginx 重定向到 http://szwltest.sunzee.com.cn/shenze/#/xxx
|
|
|
+ // openWeixin 的url 会经nginx 重定向到 https://open.weixin.qq.com/xxx
|
|
|
+ // SZWL-SERVER 的url 会经nginx 重定向到 http://szwltest.sunzee.com.cn:49011 (即该应用)
|
|
|
String path = http + "/shenzeVue/wxLogin";
|
|
|
try {
|
|
|
String redirectUrl = URLEncoder.encode(path, "UTF-8");
|