feat: 上传页面逻辑调整
This commit is contained in:
@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user