配置改错

This commit is contained in:
2026-05-31 07:33:00 +08:00
parent d9f7ea3d12
commit 76297caa81
5 changed files with 14 additions and 14 deletions

View File

@@ -20,19 +20,19 @@ public class HxrAdminProperties {
* 订单列表基础 URL含分页等通用查询串各业务在代码中覆盖查询参数或使用独立 URL 配置。
*/
private String orderSelectUrl =
"https://hxrdhoutai.hxrdsm.cn/app/admin/order/select?page=1&limit=90";
"https://hxrdhoutai.hxrdsm.cn222/app/admin/order/select?page=1&limit=90";
/**
* 未支付订单拉取 URL含 {@code status=0} 等业务筛选),供 {@link LBAdminPullScheduler#pullOrdersForUnPay} 使用。
*/
private String orderSelectUnPayUrl =
"https://hxrdhoutai.hxrdsm.cn/app/admin/order/select?page=1&limit=90&status=0";
"https://hxrdhoutai.hxrdsm.cn222/app/admin/order/select?page=1&limit=90&status=0";
/**
* 已支付订单拉取 URL含 {@code status=1}),供 {@link LBAdminPullScheduler#pullOrdersForUnPay} 使用。
*/
private String orderSelectPaidUrl =
"https://hxrdhoutai.hxrdsm.cn/app/admin/order/select?page=1&limit=90&status=1";
"https://hxrdhoutai.hxrdsm.cn222/app/admin/order/select?page=1&limit=90&status=1";
/**
* 定时将 hxrd 订单同步到 {@code lb_order_row} 时使用的租户 id未配置时跳过订单状态同步。
@@ -53,22 +53,22 @@ public class HxrAdminProperties {
* 用户列表接口 URL可含默认查询串实际请求会覆盖 {@code mobile} 等参数。
*/
private String userSelectUrl =
"https://hxrdhoutai.hxrdsm.cn/app/admin/user/select?page=1&limit=90";
"https://hxrdhoutai.hxrdsm.cn222/app/admin/user/select?page=1&limit=90";
/**
* 用户更新接口 URL。
*/
private String userUpdateUrl = "https://hxrdhoutai.hxrdsm.cn/app/admin/user/update";
private String userUpdateUrl = "https://hxrdhoutai.hxrdsm.cn222/app/admin/user/update";
/**
* 货品列表 API{@code /api/order/goods});实际请求会覆盖 {@code page}、{@code limit}。
*/
private String goodsApiUrl = "https://hxrdhoutai.hxrdsm.cn/api/order/goods?page=1&limit=20";
private String goodsApiUrl = "https://hxrdhoutai.hxrdsm.cn222/api/order/goods?page=1&limit=20";
/**
* 抢购 API{@code POST /api/order/buy})。
*/
private String buyApiUrl = "https://hxrdhoutai.hxrdsm.cn/api/order/buy";
private String buyApiUrl = "https://hxrdhoutai.hxrdsm.cn222/api/order/buy";
/**
* 货品列表 API 请求头 {@code token}。

View File

@@ -155,7 +155,7 @@ public class HxrAdminOrderSelectService {
}
String refererHeader = referer;
if (refererHeader == null || refererHeader.isBlank()) {
refererHeader = "https://hxrdhoutai.hxrdsm.cn/app/admin/order/index";
refererHeader = "https://hxrdhoutai.hxrdsm.cn222/app/admin/order/index";
}
HttpClient client = HttpClient.newBuilder()

View File

@@ -117,7 +117,7 @@ public class HxrAdminUserService {
stripQuery(properties.getUserSelectUrl()),
USER_SELECT_PAGE_SIZE,
cookieHeader,
"https://hxrdhoutai.hxrdsm.cn/app/admin/user/index");
"https://hxrdhoutai.hxrdsm.cn222/app/admin/user/index");
return fetchUserSelectPage(page, ctx);
}
@@ -228,7 +228,7 @@ public class HxrAdminUserService {
.header("Accept-Language", "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6")
.header("Cookie", cookieHeader)
.header("Priority", "u=1, i")
.header("Referer", "https://hxrdhoutai.hxrdsm.cn/app/admin/user/index")
.header("Referer", "https://hxrdhoutai.hxrdsm.cn222/app/admin/user/index")
.header("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36 Edg/148.0.0.0")
.GET()
.build();
@@ -294,7 +294,7 @@ public class HxrAdminUserService {
.header("Accept", "application/json, text/javascript, */*; q=0.01")
.header("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8")
.header("Cookie", cookieHeader)
.header("Referer", "https://hxrdhoutai.hxrdsm.cn/app/admin/user/index")
.header("Referer", "https://hxrdhoutai.hxrdsm.cn222/app/admin/user/index")
.header("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36 Edg/148.0.0.0")
.POST(HttpRequest.BodyPublishers.ofString(form, StandardCharsets.UTF_8))
.build();

View File

@@ -8,7 +8,7 @@ CREATE TABLE `lb_third_integration_config` (
`provider_code` VARCHAR(32) NOT NULL DEFAULT 'HXR_ADMIN' COMMENT '集成类型HXR_ADMIN 等',
`enabled` TINYINT NOT NULL DEFAULT 1 COMMENT '总开关1启用 0禁用',
`admin_base_url` VARCHAR(256) NOT NULL COMMENT '后台管理域名,如 https://hxrdhoutai.hxrdsm.cn',
`admin_base_url` VARCHAR(256) NOT NULL COMMENT '后台管理域名,如 https://hxrdhoutai.hxrdsm.cn222',
`web_base_url` VARCHAR(256) NOT NULL COMMENT '前端 Web 域名,如 https://hxrdweb.hxrdsm.cn',
`order_select_path` VARCHAR(128) NOT NULL DEFAULT '/app/admin/order/select' COMMENT '订单列表 API 路径',