前端联调接口

This commit is contained in:
陈淳
2022-10-11 16:48:25 +08:00
parent 58f85992b0
commit a0c869d0a1
54 changed files with 899 additions and 137 deletions

View File

@@ -0,0 +1,12 @@
import myaxios from '@/utils/myaxios.ts'
export default{
upload(type:string,data:any){
return myaxios({
url: `/upload/${type}`,
headers:{"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"},
method: 'POST',
data:data
});
}
}