diff --git a/api/topicItem.js b/api/topicItem.js index 7cde3de..cb6580c 100644 --- a/api/topicItem.js +++ b/api/topicItem.js @@ -9,6 +9,15 @@ export const topicItemScore = async (data) => { }); }; +// 评论 +export const topicItemComment = async (data) => { + return request({ + url: "/api/rating/topic/comment/item", + method: "POST", + data, + }); +}; + // 获取评分项详情 export const fetchTopicRatingItems = async (itemId) => { return request({ diff --git a/utils/request.js b/utils/request.js index f39857c..f4815c1 100644 --- a/utils/request.js +++ b/utils/request.js @@ -1,7 +1,7 @@ // const BASE_URL = "https://api.ai-meng.com"; -const BASE_URL = 'http://127.0.0.1:3999' +// const BASE_URL = 'http://127.0.0.1:3999' // const BASE_URL = "http://192.168.1.2:3999"; -// const BASE_URL = "http://192.168.31.253:3999"; +const BASE_URL = "http://192.168.31.253:3999"; import { useUserStore } from "@/stores/user"; import { getPlatform } from "./system.js"; const platform = getPlatform();