xxl-job跳转url修改

This commit is contained in:
XinWei 2024-08-22 10:42:28 +08:00
parent 311b44a5ec
commit c453a42cf6
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ import java.nio.charset.StandardCharsets;
@Component @Component
public class OAuth2Client { public class OAuth2Client {
private static final String BASE_URL = "http://127.0.0.1:48080/admin-api/system/oauth2"; private static final String BASE_URL = "https://mt.ptzykjgs.com/admin-api/system/oauth2";
/** /**
* 租户编号 * 租户编号

View File

@ -21,7 +21,7 @@ import org.springframework.web.client.RestTemplate;
@Component @Component
public class UserClient { public class UserClient {
private static final String BASE_URL = "http://127.0.0.1:48080/admin-api/system/oauth2/user"; private static final String BASE_URL = "https://mt.ptzykjgs.com/admin-api/system/oauth2/user";
// @Resource // 可优化注册一个 RestTemplate Bean然后注入 // @Resource // 可优化注册一个 RestTemplate Bean然后注入
private final RestTemplate restTemplate = new RestTemplate(); private final RestTemplate restTemplate = new RestTemplate();