接口对接

This commit is contained in:
zzyuan 2025-04-11 15:04:25 +08:00
parent c43a8cfcc3
commit fc49b717c8
2 changed files with 3 additions and 2 deletions

View File

@ -76,7 +76,7 @@ export function updateNutrition(data) {
// 删除
export function delNutrition(data) {
return request({
url: '/smart-canteen/api/v1/menunutrition/remove',
url: '/smart-canteen/menu_nutrition/del',
method: 'post',
data: data
})

View File

@ -35,7 +35,8 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://192.168.2.80:48380`,
// target: `http://192.168.2.80:48380`,
target: `http://192.168.0.44:48380`,
// target: `http://192.168.0.244:58580`,
changeOrigin: true,
pathRewrite: {