fix: rating
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user