发现及检测报告产品推荐

This commit is contained in:
2023-11-17 09:26:58 +08:00
parent a3ee59adda
commit e594b340e5
29 changed files with 1255 additions and 29 deletions

23
api/interfaces/found.js Normal file
View File

@@ -0,0 +1,23 @@
/*
* zdx
* 发现接口
*/
import { req } from "../request"
// 产品首页
const foundIndex = (data) => req({
url: "discover/lists",
data:data
})
// 收藏 subscribe favorite 点赞
const foundSubscribeFavorite = (discover,type) => req({
url: `discover/${discover}/${type}`
})
export default ({
foundIndex,
foundSubscribeFavorite
})