 /*
  * 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
})