{"size": 504, "ext": "js", "max_stars_repo_path": "src/pages/product/service.js", "max_stars_repo_name": "plainnany/wei-app", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/pages/product/service.js", "max_issues_repo_name": "plainnany/wei-app", "max_issues_repo_issues_event_min_datetime": "2021-03-10T13:27:33.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-15T04:31:07.000Z", "max_forks_repo_path": "src/pages/product/service.js", "max_forks_repo_name": "plainnany/wei-app", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 5, "max_forks_count": null, "avg_line_length": 17.3793103448, "max_line_length": 50, "alphanum_fraction": 0.5932539683}
import api from "../../services/api"

class Api {
  getMenu = data => {
    return api.get({ url: "/queryMenu", data })
  };

  getProduct = data => {
    return api.get({ url: "/queryProdcut", data })
  };

  getProductDetail = data => api.get({
    url: '/queryProdcutDetail',
    data
  })

  getNewProductDetail = data => api.get({
    url: '/queryNewProductDetail',
    data
  })

  getProductCollect = data => api.get({
    url: '/queryOneProductCollect',
    data
  })
}

export default new Api()
