fix: rating

This commit is contained in:
zzc
2026-05-26 07:20:05 +08:00
parent f5534632ff
commit da6fb97da4
2 changed files with 11 additions and 2 deletions

View File

@@ -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) => { export const fetchTopicRatingItems = async (itemId) => {
return request({ return request({

View File

@@ -1,7 +1,7 @@
// const BASE_URL = "https://api.ai-meng.com"; // 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.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 { useUserStore } from "@/stores/user";
import { getPlatform } from "./system.js"; import { getPlatform } from "./system.js";
const platform = getPlatform(); const platform = getPlatform();