配置改错

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

@@ -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();