Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
feat: 获取所有专题分类更换接口
yikaJasonMic3d1e86402c0c
diff --git a/src/api/platform.ts b/src/api/platform.tsindex 2e777bce..dbbde8b5 100644--- a/src/api/platform.ts+++ b/src/api/platform.ts@@ -182,8 +182,8 @@ export const platformApi = {},// 获取所有专题分类- getTopicTypes(msgType: string) {- return http.get<string[]>(`/topics/types/${msgType}`, {+ getTopicLabels(msgType: string) {+ return http.get<string[]>(`/topics/labels/${msgType}`, {isToken: false,});},