From a65b1a037555489aec38dae8ef84deb127c2901e Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期二, 23 八月 2022 03:20:54 +0800 Subject: [PATCH] 修复首页数据的树结构 --- src/api/product.ts | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/api/product.ts b/src/api/product.ts index d605cad..2c5e046 100644 --- a/src/api/product.ts +++ b/src/api/product.ts @@ -301,4 +301,14 @@ url: `/saas/api-s/saasProduct/getFreeList`, method: 'post', }) -} \ No newline at end of file +} + +//鏍规嵁id鏌ヨ浜у搧 +export const getProductById = (data: any) => { + return request({ + url: `/saas/api-s/saasProduct/getProductById`, + method: 'post', + data + }) +} + -- Gitblit v1.8.0