导入菜谱
This commit is contained in:
parent
83a8b29bd5
commit
8a4d868c5d
|
|
@ -152,7 +152,7 @@ export function menuUpLoadApi(param){
|
|||
formData.append('file', param.file)
|
||||
formData.append('recipeId', param.recipeId)
|
||||
return request({
|
||||
url: '/smart-canteen/menu_recipe/recipe/import/dishes',
|
||||
url: '/smart-canteen/cook_recipe/recipe/import/dishes',
|
||||
method: 'post',
|
||||
data: formData,
|
||||
header:'multipart/form-data'
|
||||
|
|
|
|||
|
|
@ -336,7 +336,7 @@
|
|||
// 设置上传的请求头部
|
||||
headers: { Authorization: 'Bearer ' + getToken() },
|
||||
// 上传的地址
|
||||
url: process.env.VUE_APP_BASE_API + '/smart-canteen/menu_recipe/recipe/import/dishes',
|
||||
url: process.env.VUE_APP_BASE_API + '/smart-canteen/cook_recipe/recipe/import/dishes',
|
||||
},
|
||||
uploadRow:{},
|
||||
openUpload:false
|
||||
|
|
@ -700,4 +700,3 @@
|
|||
border: 1px solid #FFF;
|
||||
}
|
||||
</style>
|
||||
|
||||
Loading…
Reference in New Issue