|
@@ -92,7 +92,7 @@ public class SysTenantController extends BaseController{
|
|
|
@PostMapping("/queryQCode/current")
|
|
@PostMapping("/queryQCode/current")
|
|
|
public CommonResult<String> queryQCodeCurrent() {
|
|
public CommonResult<String> queryQCodeCurrent() {
|
|
|
String tenantId = LoginUserStrategy.tr.getTenantId();
|
|
String tenantId = LoginUserStrategy.tr.getTenantId();
|
|
|
- String url="https://open.weixin.qq.com/sns/getexpappinfo?appid=%s&path=pages/login/login.html?tenantId=%s#wechat-redirect";
|
|
|
|
|
- return CommonResult.success(URLUtil.encode(String.format(url,wxMpService.getWxMpConfigStorage().getAppId(),tenantId)));
|
|
|
|
|
|
|
+ String url="https://exam.tuoren.com/smartAdmin?tenant=%s";
|
|
|
|
|
+ return CommonResult.success(URLUtil.encode(String.format(url,tenantId)));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|