Преглед изворни кода

修改api管理

tags/小炒逻辑变更前
txb пре 2 година
родитељ
комит
3dbb002988
4 измењених фајлова са 7 додато и 7 уклоњено
  1. +1
    -1
      src/pages/device/deviceFood/service.js
  2. +1
    -1
      src/pages/foodMenu/foodMenu/index.jsx
  3. +3
    -3
      src/pages/foodMenu/foodMenu/service.js
  4. +2
    -2
      src/pages/foodMenu/storeFoodMenu/service.js

+ 1
- 1
src/pages/device/deviceFood/service.js Прегледај датотеку

@@ -31,7 +31,7 @@ export async function gettree(params) {
});
}
export async function GetGoods(params) {
return request('/​api/Device/GetGoods', {
return request('/kitchen/​api/Device/GetGoods', {
method: 'POST',
data: {
...params,


+ 1
- 1
src/pages/foodMenu/foodMenu/index.jsx Прегледај датотеку

@@ -5,7 +5,7 @@ import { PageContainer, FooterToolbar } from '@ant-design/pro-layout';
import ProTable from '@ant-design/pro-table';
import ProDescriptions from '@ant-design/pro-descriptions';
import CreateForm from './components/CreateForm';
import { add, getpage, gettree, DelFoodMenuGoods } from './service';
import { add, getpage, gettree,getpage_v2, DelFoodMenuGoods } from './service';
/**
* 添加节点
*


+ 3
- 3
src/pages/foodMenu/foodMenu/service.js Прегледај датотеку

@@ -8,7 +8,7 @@ export async function getpage(params, options) {
});
}
export async function getpage_v2(params, options) {
return request('/api/FoodMenu/GetFoodMenuGoodsPage_V2', {
return request('/kitchen/api/FoodMenu/GetFoodMenuGoodsPage_V2', {
method: 'POST',
data: {
...params,
@@ -31,14 +31,14 @@ export async function DelFoodMenuGoods(data) {
}

export async function gettree(params) {
return request('/api/FoodMenu/tree', {
return request('/kitchen/api/FoodMenu/tree', {
data: {
...params,
},
});
}
export async function GetGoodsByMenuIdPage(params) {
return request('/api/FoodMenu/GetGoodsByMenuIdPage', {
return request('/kitchen/api/FoodMenu/GetGoodsByMenuIdPage', {
method: 'POST',
data: {
...params,


+ 2
- 2
src/pages/foodMenu/storeFoodMenu/service.js Прегледај датотеку

@@ -24,14 +24,14 @@ export async function DelStoreFoodMenu(data) {
}

export async function gettree(params) {
return request('/​api/FoodMenu/tree', {
return request('/kitchen/​api/FoodMenu/tree', {
data: {
...params,
},
});
}
export async function GetStorePage(params) {
return request('/​api/FoodMenu/GetStorePage', {
return request('/kitchen/​api/FoodMenu/GetStorePage', {
method: 'POST',
data: {
...params,


Loading…
Откажи
Сачувај