optimize request.js

This commit is contained in:
tuxiu21 2024-03-14 15:45:06 +08:00
parent f9b83000ab
commit d712294c72

View File

@ -528,26 +528,7 @@ const projectGetCustom = (data) =>{
}
})
}
// const data = reactive({
// id: 1,
// tags: ['web','ai'],
// isFinish: [1,-1,0]
// })
// const projectGetCustom = (id, tags, isFinish) =>{
// return axios({
// url:api+ "/project/get/custom",
// method: "get",
// data: {
// id: id,
// tags: tags,
// isFinish: isFinish
// },
// headers:{
// 'Timestamp': getCurrentTimestamp()
// }
// })
// }
// request.projectGetCustom(1, [], [1, -2, 0, 2])
/**
@ -601,20 +582,7 @@ const projectWorkGet = (data,token) => {
})
}
// /**
// * 得到tag列表
// * @param token
// */
// const getTagsProjectList = (token) =>{
// return axios({
// url:api+ "/tags/project/list",
// method: "get",
// headers:{
// 'Authorization':'Bearer '+token,
// 'Timestamp': getCurrentTimestamp()
// }
// })
// }
export default {