|
- import { defineConfig } from "umi";
-
- export default defineConfig({
- routes: [
- { path: "/", component: "index" },
- { path: "/docs", component: "docs" },
- { path: "/products", component: "products" },
-
- //开发前
- {
- path: '/htmls/BeforeDevelopment/Log',
- component: './htmls/BeforeDevelopment/Log',
- },
- {
- path: '/htmls/BeforeDevelopment/Index',
- component: './htmls/BeforeDevelopment/Index',
- },
-
- //开发后
- {
- path: '/htmls/StartDevelopment/Safety',
- component: './htmls/StartDevelopment/Safety',
- },
- {
- path: '/htmls/StartDevelopment/ProtocolRules',
- component: './htmls/StartDevelopment/ProtocolRules',
- },
- {
- path: '/htmls/StartDevelopment/CallbackRules',
- component: './htmls/StartDevelopment/CallbackRules',
- },
-
- //api
- //授权码
- {
- path: '/htmls/API/Authorize/Platform',
- component: './htmls/API/Authorize/Platform',
- },
- {
- path: '/htmls/API/Authorize/Material',
- component: './htmls/API/Authorize/Material',
- },
-
-
-
- // 物料
- {
- path: '/htmls/API/Material/Base/Add',
- component: './htmls/API/Material/Base/Add',
- },
- {
- path: '/htmls/API/Material/Base/Del',
- component: './htmls/API/Material/Base/Del',
- },
- {
- path: '/htmls/API/Material/Base/GetPage',
- component: './htmls/API/Material/Base/GetPage',
- },
- {
- path: '/htmls/API/Material/Base/GetMaterial',
- component: './htmls/API/Material/Base/GetMaterial',
- },
- {
- path: '/htmls/API/Material/Base/Update',
- component: './htmls/API/Material/Base/Update',
- },
- //物料类型
- {
- path: '/htmls/API/Material/MaterialType/GetPage',
- component: './htmls/API/Material/MaterialType/GetPage',
- },
- {
- path: '/htmls/API/Material/MaterialType/GetMaterialType',
- component: './htmls/API/Material/MaterialType/GetMaterialType',
- },
- //商品
- {
- path: '/htmls/API/Goods/Base/Add',
- component: './htmls/API/Goods/Base/Add',
- },
- {
- path: '/htmls/API/Goods/Base/Del',
- component: './htmls/API/Goods/Base/Del',
- },
- {
- path: '/htmls/API/Goods/Base/GetGoods',
- component: './htmls/API/Goods/Base/GetGoods',
- },
- {
- path: '/htmls/API/Goods/Base/GetPage',
- component: './htmls/API/Goods/Base/GetPage',
- },
- {
- path: '/htmls/API/Goods/Base/Update',
- component: './htmls/API/Goods/Base/Update',
- },
- //商品分类
- {
- path: '/htmls/API/Goods/GoodsClassify/AddClassify',
- component: './htmls/API/Goods/GoodsClassify/AddClassify',
- },
- {
- path: '/htmls/API/Goods/GoodsClassify/GetClassify',
- component: './htmls/API/Goods/GoodsClassify/GetClassify',
- },
- {
- path: '/htmls/API/Goods/GoodsClassify/GetPage',
- component: './htmls/API/Goods/GoodsClassify/GetPage',
- },
- //商品属性
- {
- path: '/htmls/API/Goods/GoodsAttribute/Addattribute',
- component: './htmls/API/Goods/GoodsAttribute/Addattribute',
- },
- {
- path: '/htmls/API/Goods/GoodsAttribute/AddattributeValue',
- component: './htmls/API/Goods/GoodsAttribute/AddattributeValue',
- },
- {
- path: '/htmls/API/Goods/GoodsAttribute/Getattribute',
- component: './htmls/API/Goods/GoodsAttribute/Getattribute',
- },
- //商品工艺
- {
- path: '/htmls/API/Goods/GoodsTechnology/Get',
- component: './htmls/API/Goods/GoodsTechnology/Get',
- },
- {
- path: '/htmls/API/Goods/GoodsTechnology/Add',
- component: './htmls/API/Goods/GoodsTechnology/Add',
- },
- {
- path: '/htmls/API/Goods/GoodsTechnology/Del',
- component: './htmls/API/Goods/GoodsTechnology/Del',
- },
- //工艺分类
- {
- path: '/htmls/API/Goods/GoodsType/GetGoodsType',
- component: './htmls/API/Goods/GoodsType/GetGoodsType',
- },
- {
- path: '/htmls/API/Goods/GoodsType/AddType',
- component: './htmls/API/Goods/GoodsType/AddType',
- },
- {
- path: '/htmls/API/Goods/GoodsType/UpdateType',
- component: './htmls/API/Goods/GoodsType/UpdateType',
- },
- {
- path: '/htmls/API/Goods/GoodsType/DelType',
- component: './htmls/API/Goods/GoodsType/DelType',
- },
- //商品单位
- {
- path: '/htmls/API/Goods/GoodsUint/GetUint',
- component: './htmls/API/Goods/GoodsUint/GetUint',
- },
- {
- path: '/htmls/API/Goods/GoodsUint/AddUint',
- component: './htmls/API/Goods/GoodsUint/AddUint',
- },
- {
- path: '/htmls/API/Goods/GoodsUint/UpdateUint',
- component: './htmls/API/Goods/GoodsUint/UpdateUint',
- },
- {
- path: '/htmls/API/Goods/GoodsUint/DelUint',
- component: './htmls/API/Goods/GoodsUint/DelUint',
- },
- //商品能量
- {
- path: '/htmls/API/Goods/GoodsEnergyConfig/GetGoodsEnergyConfig',
- component: './htmls/API/Goods/GoodsEnergyConfig/GetGoodsEnergyConfig',
- },
- //设备
- {
- path: '/htmls/API/Device/Base/Add',
- component: './htmls/API/Device/Base/Add',
- },
- {
- path: '/htmls/API/Device/Base/Del',
- component: './htmls/API/Device/Base/Del',
- },
- {
- path: '/htmls/API/Device/Base/GetPage',
- component: './htmls/API/Device/Base/GetPage',
- },
- {
- path: '/htmls/API/Device/Base/GetDevice',
- component: './htmls/API/Device/Base/GetDevice',
- },
- {
- path: '/htmls/API/Device/Base/Update',
- component: './htmls/API/Device/Base/Update',
- },
- //设备工艺
- {
- path: '/htmls/API/Device/DeviceTechnology/GetDeviceTechnology',
- component: './htmls/API/Device/DeviceTechnology/GetDeviceTechnology',
- },
- {
- path: '/htmls/API/Device/DeviceTechnology/GetPage',
- component: './htmls/API/Device/DeviceTechnology/GetPage',
- },
- //配方
- {
- path: '/htmls/API/Bom/Add',
- component: './htmls/API/Bom/Add',
- },
- {
- path: '/htmls/API/Bom/Del',
- component: './htmls/API/Bom/Del',
- },
- {
- path: '/htmls/API/Bom/GetPage',
- component: './htmls/API/Bom/GetPage',
- },
- {
- path: '/htmls/API/Bom/Update',
- component: './htmls/API/Bom/Update',
- },
- {
- path: '/htmls/API/Bom/AddBomDetial',
- component: './htmls/API/Bom/AddBomDetial',
- },
- {
- path: '/htmls/API/Bom/GetBomDetial',
- component: './htmls/API/Bom/GetBomDetial',
- },
- //仓位模板
- {
- path: '/htmls/API/Warehouse/Add',
- component: './htmls/API/Warehouse/Add',
- },
- {
- path: '/htmls/API/Warehouse/GetPage',
- component: './htmls/API/Warehouse/GetPage',
- },
- {
- path: '/htmls/API/Warehouse/Update',
- component: './htmls/API/Warehouse/Update',
- },
- {
- path: '/htmls/API/Warehouse/GetList',
- component: './htmls/API/Warehouse/GetList',
- },
- {
- path: '/htmls/API/Warehouse/GetList',
- component: './htmls/API/Warehouse/GetList',
- },
- //订单
- {
- path: '/htmls/API/Order/GetList',
- component: './htmls/API/Order/GetList',
- },
- {
- path: '/htmls/API/Order/Add',
- component: './htmls/API/Order/Add',
- },
-
- //称重
- {
- path: '/htmls/API/GroupMeal/DiningPlate/Edit',
- component: './htmls/API/GroupMeal/DiningPlate/Edit',
- },
- {
- path: '/htmls/API/GroupMeal/DiningPlateOrder/CreateWeighOrder',
- component: './htmls/API/GroupMeal/DiningPlateOrder/CreateWeighOrder',
- },
- {
- path: '/htmls/API/GroupMeal/DiningPlateOrder/AddWeighOrderGoods',
- component: './htmls/API/GroupMeal/DiningPlateOrder/AddWeighOrderGoods',
- },
- {
- path: '/htmls/API/GroupMeal/DiningPlateOrder/AddWeighOrderDiningPlate',
- component: './htmls/API/GroupMeal/DiningPlateOrder/AddWeighOrderDiningPlate',
- },
- {
- path: '/htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderByChipCode',
- component: './htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderByChipCode',
- },
- {
- path: '/htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderByOrderId',
- component: './htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderByOrderId',
- },
- {
- path: '/htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderByOpenId',
- component: './htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderByOpenId',
- },
- {
- path: '/htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderPageByOrderId',
- component: './htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderPageByOrderId',
- },
- {
- path: '/htmls/API/GroupMeal/DiningPlateOrder/UpdateWeighOrderStates',
- component: './htmls/API/GroupMeal/DiningPlateOrder/UpdateWeighOrderStates',
- },
- //小程序订单
- {
- path: '/htmls/API/GroupMeal/AppletOrder/Add',
- component: './htmls/API/GroupMeal/AppletOrder/Add',
- },
- {
- path: '/htmls/API/GroupMeal/AppletOrder/GetList',
- component: './htmls/API/GroupMeal/AppletOrder/GetList',
- },
- //配料吧台
- {
- path: '/htmls/API/Ingredient/Authorize/Get',
- component: './htmls/API/Ingredient/Authorize/Get',
- },
- {
- path: '/htmls/API/Ingredient/Info/Users/Get',
- component: './htmls/API/Ingredient/Info/Users/Get',
- },
- {
- path: '/htmls/API/Ingredient/Info/DeviceInfo/Get',
- component: './htmls/API/Ingredient/Info/DeviceInfo/Get',
- },
- {
- path: '/htmls/API/Ingredient/Info/RecipeInfo/Get',
- component: './htmls/API/Ingredient/Info/RecipeInfo/Get',
- },
- {
- path: '/htmls/API/Ingredient/Batching/Get',
- component: './htmls/API/Ingredient/Batching/Get',
- },
- {
- path: '/htmls/API/Ingredient/Batching/Upload',
- component: './htmls/API/Ingredient/Batching/Upload',
- },
- {
- path: '/htmls/API/Ingredient/Batching/Delete',
- component: './htmls/API/Ingredient/Batching/Delete',
- },
- {
- path: '/htmls/API/Ingredient/RecipeGroup/Get',
- component: './htmls/API/Ingredient/RecipeGroup/Get',
- },
- {
- path: '/htmls/API/Ingredient/RecipeGroup/Upload',
- component: './htmls/API/Ingredient/RecipeGroup/Upload',
- },
- {
- path: '/htmls/API/Ingredient/RecipeGroup/Delete',
- component: './htmls/API/Ingredient/RecipeGroup/Delete',
- },
- {
- path: '/htmls/API/Ingredient/RecipeInfo/Get',
- component: './htmls/API/Ingredient/RecipeInfo/Get',
- },
- {
- path: '/htmls/API/Ingredient/DeviceLog/Upload',
- component: './htmls/API/Ingredient/DeviceLog/Upload',
- },
- {
- path: '/htmls/API/Ingredient/RecipeInfo/Upload',
- component: './htmls/API/Ingredient/RecipeInfo/Upload',
- },
- {
- path: '/htmls/API/Ingredient/RecipeInfo/Delete',
- component: './htmls/API/Ingredient/RecipeInfo/Delete',
- },
- {
- path: '/htmls/API/Ingredient/RecipeAttr/Get',
- component: './htmls/API/Ingredient/RecipeAttr/Get',
- },
- {
- path: '/htmls/API/Ingredient/RecipeAttr/Upload',
- component: './htmls/API/Ingredient/RecipeAttr/Upload',
- },
- {
- path: '/htmls/API/Ingredient/RecipeAttr/Delete',
- component: './htmls/API/Ingredient/RecipeAttr/Delete',
- },
- {
- path: '/htmls/API/Ingredient/RecipeBatching/Get',
- component: './htmls/API/Ingredient/RecipeBatching/Get',
- },
- {
- path: '/htmls/API/Ingredient/RecipeBatching/Upload',
- component: './htmls/API/Ingredient/RecipeBatching/Upload',
- },
- {
- path: '/htmls/API/Ingredient/RecipeBatching/Delete',
- component: './htmls/API/Ingredient/RecipeBatching/Delete',
- },
- {
- path: '/htmls/API/Ingredient/RecipeUseDetail/Upload',
- component: './htmls/API/Ingredient/RecipeUseDetail/Upload',
- },
- {
- path: '/htmls/API/Ingredient/DeviceLog/Upload',
- component: './htmls/API/Ingredient/DeviceLog/Upload',
- },
- ],
- npmClient: "pnpm",
- });
|