From 791a96ae03cf92478244127b294c1fe520d31e89 Mon Sep 17 00:00:00 2001 From: wwf <1971391498@qq.com> Date: 星期六, 11 十月 2025 11:17:10 +0800 Subject: [PATCH] 优化 --- entry/src/main/ets/pages/home/ClassificationDetail.ets | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/entry/src/main/ets/pages/home/ClassificationDetail.ets b/entry/src/main/ets/pages/home/ClassificationDetail.ets index ae5cc86..0a65b66 100644 --- a/entry/src/main/ets/pages/home/ClassificationDetail.ets +++ b/entry/src/main/ets/pages/home/ClassificationDetail.ets @@ -2,7 +2,7 @@ import { http } from "@kit.NetworkKit" import { LvMarkdownIn } from "@luvi/lv-markdown-in" import { HttpResponseResult } from "../../data/HttpResponse" -import { ROMAIN } from "../../utils/config" +import { DOMAIN } from "../../utils/config" @Entry @Component @@ -21,7 +21,7 @@ getDetail() { let httpRequest = http.createHttp(); httpRequest.request( - `${ROMAIN}/quiz-community/public/v1.0/home/module/details?moduleName=${this.moduleName}`, + `${DOMAIN}/quiz-community/public/v1.0/home/module/details?moduleName=${this.moduleName}`, { method: http.RequestMethod.GET, header: { 'Content-Type': 'application/json', 'x-jwt-token': `Bearer ${AppStorage.get('x-jwt-token')}` }, -- Gitblit v1.8.0