250825
This commit is contained in:
@@ -104,3 +104,13 @@ export async function getThinkCardLog(id: number) {
|
||||
}
|
||||
return Promise.reject(new Error(res.data.message));
|
||||
}
|
||||
|
||||
export async function thinkCardLogExport(data: ThinkCardLog) {
|
||||
const res = await request.post<ApiResult<ThinkCardLog>>(
|
||||
THINK_API_URL + '/think/think-card-log/export', data
|
||||
);
|
||||
if (res.data.code === 0) {
|
||||
return res.data;
|
||||
}
|
||||
return Promise.reject(new Error(res.data.message));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user