接口对接
This commit is contained in:
		
							parent
							
								
									c43a8cfcc3
								
							
						
					
					
						commit
						fc49b717c8
					
				| 
						 | 
					@ -76,7 +76,7 @@ export function updateNutrition(data) {
 | 
				
			||||||
// 删除
 | 
					// 删除
 | 
				
			||||||
export function delNutrition(data) {
 | 
					export function delNutrition(data) {
 | 
				
			||||||
  return request({
 | 
					  return request({
 | 
				
			||||||
    url: '/smart-canteen/api/v1/menunutrition/remove',
 | 
					    url: '/smart-canteen/menu_nutrition/del',
 | 
				
			||||||
    method: 'post',
 | 
					    method: 'post',
 | 
				
			||||||
    data: data
 | 
					    data: data
 | 
				
			||||||
  })
 | 
					  })
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -35,7 +35,8 @@ module.exports = {
 | 
				
			||||||
        proxy: {
 | 
					        proxy: {
 | 
				
			||||||
            // detail: https://cli.vuejs.org/config/#devserver-proxy
 | 
					            // detail: https://cli.vuejs.org/config/#devserver-proxy
 | 
				
			||||||
            [process.env.VUE_APP_BASE_API]: {
 | 
					            [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`,
 | 
					                // target: `http://192.168.0.244:58580`,
 | 
				
			||||||
                changeOrigin: true,
 | 
					                changeOrigin: true,
 | 
				
			||||||
                pathRewrite: {
 | 
					                pathRewrite: {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue