You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

398 lines
12 KiB

  1. import { defineConfig } from "umi";
  2. export default defineConfig({
  3. routes: [
  4. { path: "/", component: "index" },
  5. { path: "/docs", component: "docs" },
  6. { path: "/products", component: "products" },
  7. //开发前
  8. {
  9. path: '/htmls/BeforeDevelopment/Log',
  10. component: './htmls/BeforeDevelopment/Log',
  11. },
  12. {
  13. path: '/htmls/BeforeDevelopment/Index',
  14. component: './htmls/BeforeDevelopment/Index',
  15. },
  16. //开发后
  17. {
  18. path: '/htmls/StartDevelopment/Safety',
  19. component: './htmls/StartDevelopment/Safety',
  20. },
  21. {
  22. path: '/htmls/StartDevelopment/ProtocolRules',
  23. component: './htmls/StartDevelopment/ProtocolRules',
  24. },
  25. {
  26. path: '/htmls/StartDevelopment/CallbackRules',
  27. component: './htmls/StartDevelopment/CallbackRules',
  28. },
  29. //api
  30. //授权码
  31. {
  32. path: '/htmls/API/Authorize/Platform',
  33. component: './htmls/API/Authorize/Platform',
  34. },
  35. {
  36. path: '/htmls/API/Authorize/Material',
  37. component: './htmls/API/Authorize/Material',
  38. },
  39. // 物料
  40. {
  41. path: '/htmls/API/Material/Base/Add',
  42. component: './htmls/API/Material/Base/Add',
  43. },
  44. {
  45. path: '/htmls/API/Material/Base/Del',
  46. component: './htmls/API/Material/Base/Del',
  47. },
  48. {
  49. path: '/htmls/API/Material/Base/GetPage',
  50. component: './htmls/API/Material/Base/GetPage',
  51. },
  52. {
  53. path: '/htmls/API/Material/Base/GetMaterial',
  54. component: './htmls/API/Material/Base/GetMaterial',
  55. },
  56. {
  57. path: '/htmls/API/Material/Base/Update',
  58. component: './htmls/API/Material/Base/Update',
  59. },
  60. //物料类型
  61. {
  62. path: '/htmls/API/Material/MaterialType/GetPage',
  63. component: './htmls/API/Material/MaterialType/GetPage',
  64. },
  65. {
  66. path: '/htmls/API/Material/MaterialType/GetMaterialType',
  67. component: './htmls/API/Material/MaterialType/GetMaterialType',
  68. },
  69. //商品
  70. {
  71. path: '/htmls/API/Goods/Base/Add',
  72. component: './htmls/API/Goods/Base/Add',
  73. },
  74. {
  75. path: '/htmls/API/Goods/Base/Del',
  76. component: './htmls/API/Goods/Base/Del',
  77. },
  78. {
  79. path: '/htmls/API/Goods/Base/GetGoods',
  80. component: './htmls/API/Goods/Base/GetGoods',
  81. },
  82. {
  83. path: '/htmls/API/Goods/Base/GetPage',
  84. component: './htmls/API/Goods/Base/GetPage',
  85. },
  86. {
  87. path: '/htmls/API/Goods/Base/Update',
  88. component: './htmls/API/Goods/Base/Update',
  89. },
  90. //商品分类
  91. {
  92. path: '/htmls/API/Goods/GoodsClassify/AddClassify',
  93. component: './htmls/API/Goods/GoodsClassify/AddClassify',
  94. },
  95. {
  96. path: '/htmls/API/Goods/GoodsClassify/GetClassify',
  97. component: './htmls/API/Goods/GoodsClassify/GetClassify',
  98. },
  99. {
  100. path: '/htmls/API/Goods/GoodsClassify/GetPage',
  101. component: './htmls/API/Goods/GoodsClassify/GetPage',
  102. },
  103. //商品属性
  104. {
  105. path: '/htmls/API/Goods/GoodsAttribute/Addattribute',
  106. component: './htmls/API/Goods/GoodsAttribute/Addattribute',
  107. },
  108. {
  109. path: '/htmls/API/Goods/GoodsAttribute/AddattributeValue',
  110. component: './htmls/API/Goods/GoodsAttribute/AddattributeValue',
  111. },
  112. {
  113. path: '/htmls/API/Goods/GoodsAttribute/Getattribute',
  114. component: './htmls/API/Goods/GoodsAttribute/Getattribute',
  115. },
  116. //商品工艺
  117. {
  118. path: '/htmls/API/Goods/GoodsTechnology/Get',
  119. component: './htmls/API/Goods/GoodsTechnology/Get',
  120. },
  121. {
  122. path: '/htmls/API/Goods/GoodsTechnology/Add',
  123. component: './htmls/API/Goods/GoodsTechnology/Add',
  124. },
  125. {
  126. path: '/htmls/API/Goods/GoodsTechnology/Del',
  127. component: './htmls/API/Goods/GoodsTechnology/Del',
  128. },
  129. //工艺分类
  130. {
  131. path: '/htmls/API/Goods/GoodsType/GetGoodsType',
  132. component: './htmls/API/Goods/GoodsType/GetGoodsType',
  133. },
  134. {
  135. path: '/htmls/API/Goods/GoodsType/AddType',
  136. component: './htmls/API/Goods/GoodsType/AddType',
  137. },
  138. {
  139. path: '/htmls/API/Goods/GoodsType/UpdateType',
  140. component: './htmls/API/Goods/GoodsType/UpdateType',
  141. },
  142. {
  143. path: '/htmls/API/Goods/GoodsType/DelType',
  144. component: './htmls/API/Goods/GoodsType/DelType',
  145. },
  146. //商品单位
  147. {
  148. path: '/htmls/API/Goods/GoodsUint/GetUint',
  149. component: './htmls/API/Goods/GoodsUint/GetUint',
  150. },
  151. {
  152. path: '/htmls/API/Goods/GoodsUint/AddUint',
  153. component: './htmls/API/Goods/GoodsUint/AddUint',
  154. },
  155. {
  156. path: '/htmls/API/Goods/GoodsUint/UpdateUint',
  157. component: './htmls/API/Goods/GoodsUint/UpdateUint',
  158. },
  159. {
  160. path: '/htmls/API/Goods/GoodsUint/DelUint',
  161. component: './htmls/API/Goods/GoodsUint/DelUint',
  162. },
  163. //商品能量
  164. {
  165. path: '/htmls/API/Goods/GoodsEnergyConfig/GetGoodsEnergyConfig',
  166. component: './htmls/API/Goods/GoodsEnergyConfig/GetGoodsEnergyConfig',
  167. },
  168. //设备
  169. {
  170. path: '/htmls/API/Device/Base/Add',
  171. component: './htmls/API/Device/Base/Add',
  172. },
  173. {
  174. path: '/htmls/API/Device/Base/Del',
  175. component: './htmls/API/Device/Base/Del',
  176. },
  177. {
  178. path: '/htmls/API/Device/Base/GetPage',
  179. component: './htmls/API/Device/Base/GetPage',
  180. },
  181. {
  182. path: '/htmls/API/Device/Base/GetDevice',
  183. component: './htmls/API/Device/Base/GetDevice',
  184. },
  185. {
  186. path: '/htmls/API/Device/Base/Update',
  187. component: './htmls/API/Device/Base/Update',
  188. },
  189. //设备工艺
  190. {
  191. path: '/htmls/API/Device/DeviceTechnology/GetDeviceTechnology',
  192. component: './htmls/API/Device/DeviceTechnology/GetDeviceTechnology',
  193. },
  194. {
  195. path: '/htmls/API/Device/DeviceTechnology/GetPage',
  196. component: './htmls/API/Device/DeviceTechnology/GetPage',
  197. },
  198. //配方
  199. {
  200. path: '/htmls/API/Bom/Add',
  201. component: './htmls/API/Bom/Add',
  202. },
  203. {
  204. path: '/htmls/API/Bom/Del',
  205. component: './htmls/API/Bom/Del',
  206. },
  207. {
  208. path: '/htmls/API/Bom/GetPage',
  209. component: './htmls/API/Bom/GetPage',
  210. },
  211. {
  212. path: '/htmls/API/Bom/Update',
  213. component: './htmls/API/Bom/Update',
  214. },
  215. {
  216. path: '/htmls/API/Bom/AddBomDetial',
  217. component: './htmls/API/Bom/AddBomDetial',
  218. },
  219. {
  220. path: '/htmls/API/Bom/GetBomDetial',
  221. component: './htmls/API/Bom/GetBomDetial',
  222. },
  223. //仓位模板
  224. {
  225. path: '/htmls/API/Warehouse/Add',
  226. component: './htmls/API/Warehouse/Add',
  227. },
  228. {
  229. path: '/htmls/API/Warehouse/GetPage',
  230. component: './htmls/API/Warehouse/GetPage',
  231. },
  232. {
  233. path: '/htmls/API/Warehouse/Update',
  234. component: './htmls/API/Warehouse/Update',
  235. },
  236. {
  237. path: '/htmls/API/Warehouse/GetList',
  238. component: './htmls/API/Warehouse/GetList',
  239. },
  240. {
  241. path: '/htmls/API/Warehouse/GetList',
  242. component: './htmls/API/Warehouse/GetList',
  243. },
  244. //订单
  245. {
  246. path: '/htmls/API/Order/GetList',
  247. component: './htmls/API/Order/GetList',
  248. },
  249. {
  250. path: '/htmls/API/Order/Add',
  251. component: './htmls/API/Order/Add',
  252. },
  253. //称重
  254. {
  255. path: '/htmls/API/GroupMeal/DiningPlate/Edit',
  256. component: './htmls/API/GroupMeal/DiningPlate/Edit',
  257. },
  258. {
  259. path: '/htmls/API/GroupMeal/DiningPlateOrder/CreateWeighOrder',
  260. component: './htmls/API/GroupMeal/DiningPlateOrder/CreateWeighOrder',
  261. },
  262. {
  263. path: '/htmls/API/GroupMeal/DiningPlateOrder/AddWeighOrderGoods',
  264. component: './htmls/API/GroupMeal/DiningPlateOrder/AddWeighOrderGoods',
  265. },
  266. {
  267. path: '/htmls/API/GroupMeal/DiningPlateOrder/AddWeighOrderDiningPlate',
  268. component: './htmls/API/GroupMeal/DiningPlateOrder/AddWeighOrderDiningPlate',
  269. },
  270. {
  271. path: '/htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderByChipCode',
  272. component: './htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderByChipCode',
  273. },
  274. {
  275. path: '/htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderByOrderId',
  276. component: './htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderByOrderId',
  277. },
  278. {
  279. path: '/htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderByOpenId',
  280. component: './htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderByOpenId',
  281. },
  282. {
  283. path: '/htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderPageByOrderId',
  284. component: './htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderPageByOrderId',
  285. },
  286. {
  287. path: '/htmls/API/GroupMeal/DiningPlateOrder/UpdateWeighOrderStates',
  288. component: './htmls/API/GroupMeal/DiningPlateOrder/UpdateWeighOrderStates',
  289. },
  290. //小程序订单
  291. {
  292. path: '/htmls/API/GroupMeal/AppletOrder/Add',
  293. component: './htmls/API/GroupMeal/AppletOrder/Add',
  294. },
  295. {
  296. path: '/htmls/API/GroupMeal/AppletOrder/GetList',
  297. component: './htmls/API/GroupMeal/AppletOrder/GetList',
  298. },
  299. //配料吧台
  300. {
  301. path: '/htmls/API/Ingredient/Authorize/Get',
  302. component: './htmls/API/Ingredient/Authorize/Get',
  303. },
  304. {
  305. path: '/htmls/API/Ingredient/Info/Users/Get',
  306. component: './htmls/API/Ingredient/Info/Users/Get',
  307. },
  308. {
  309. path: '/htmls/API/Ingredient/Info/DeviceInfo/Get',
  310. component: './htmls/API/Ingredient/Info/DeviceInfo/Get',
  311. },
  312. {
  313. path: '/htmls/API/Ingredient/Info/RecipeInfo/Get',
  314. component: './htmls/API/Ingredient/Info/RecipeInfo/Get',
  315. },
  316. {
  317. path: '/htmls/API/Ingredient/Batching/Get',
  318. component: './htmls/API/Ingredient/Batching/Get',
  319. },
  320. {
  321. path: '/htmls/API/Ingredient/Batching/Upload',
  322. component: './htmls/API/Ingredient/Batching/Upload',
  323. },
  324. {
  325. path: '/htmls/API/Ingredient/Batching/Delete',
  326. component: './htmls/API/Ingredient/Batching/Delete',
  327. },
  328. {
  329. path: '/htmls/API/Ingredient/RecipeGroup/Get',
  330. component: './htmls/API/Ingredient/RecipeGroup/Get',
  331. },
  332. {
  333. path: '/htmls/API/Ingredient/RecipeGroup/Upload',
  334. component: './htmls/API/Ingredient/RecipeGroup/Upload',
  335. },
  336. {
  337. path: '/htmls/API/Ingredient/RecipeGroup/Delete',
  338. component: './htmls/API/Ingredient/RecipeGroup/Delete',
  339. },
  340. {
  341. path: '/htmls/API/Ingredient/RecipeInfo/Get',
  342. component: './htmls/API/Ingredient/RecipeInfo/Get',
  343. },
  344. {
  345. path: '/htmls/API/Ingredient/DeviceLog/Upload',
  346. component: './htmls/API/Ingredient/DeviceLog/Upload',
  347. },
  348. {
  349. path: '/htmls/API/Ingredient/RecipeInfo/Upload',
  350. component: './htmls/API/Ingredient/RecipeInfo/Upload',
  351. },
  352. {
  353. path: '/htmls/API/Ingredient/RecipeInfo/Delete',
  354. component: './htmls/API/Ingredient/RecipeInfo/Delete',
  355. },
  356. {
  357. path: '/htmls/API/Ingredient/RecipeAttr/Get',
  358. component: './htmls/API/Ingredient/RecipeAttr/Get',
  359. },
  360. {
  361. path: '/htmls/API/Ingredient/RecipeAttr/Upload',
  362. component: './htmls/API/Ingredient/RecipeAttr/Upload',
  363. },
  364. {
  365. path: '/htmls/API/Ingredient/RecipeAttr/Delete',
  366. component: './htmls/API/Ingredient/RecipeAttr/Delete',
  367. },
  368. {
  369. path: '/htmls/API/Ingredient/RecipeBatching/Get',
  370. component: './htmls/API/Ingredient/RecipeBatching/Get',
  371. },
  372. {
  373. path: '/htmls/API/Ingredient/RecipeBatching/Upload',
  374. component: './htmls/API/Ingredient/RecipeBatching/Upload',
  375. },
  376. {
  377. path: '/htmls/API/Ingredient/RecipeBatching/Delete',
  378. component: './htmls/API/Ingredient/RecipeBatching/Delete',
  379. },
  380. {
  381. path: '/htmls/API/Ingredient/RecipeUseDetail/Upload',
  382. component: './htmls/API/Ingredient/RecipeUseDetail/Upload',
  383. },
  384. {
  385. path: '/htmls/API/Ingredient/DeviceLog/Upload',
  386. component: './htmls/API/Ingredient/DeviceLog/Upload',
  387. },
  388. ],
  389. npmClient: "pnpm",
  390. });