fix: rating

This commit is contained in:
zzc
2026-06-08 19:08:13 +08:00
parent 03cb2edf5e
commit 36dbf05c11
2 changed files with 244 additions and 314 deletions

View File

@@ -1,5 +1,16 @@
import { request } from "@/utils/request.js";
/**
* @description: 获取当前用户参与的话题数据
* @return {participant: number, comment: number, liked: number, label: string[]}
*/
export const fetchUserNums = async () => {
return request({
url: "/api/rating/personal/nums",
method: "GET",
});
};
export const sendFeedback = async (data) => {
return request({
url: "/api/common/feedback",