feat: 上传页面逻辑调整

This commit is contained in:
rd
2025-08-12 11:00:27 +08:00
parent 9cb4e064b0
commit a4cf89cd5a
7 changed files with 17 additions and 26 deletions

View File

@ -3,12 +3,7 @@
*/
import Http from '@/api';
import { useRoute } from 'vue-router';
const getWriterCode = () => {
const route = useRoute();
return route?.params?.writerCode as string;
};
// 内容稿件-批量添加(写手)
export const postWorksBatchWriter = (params = {}, writerCode: string) => {
return Http.post('/v1/writer/works/batch', params, {