import Request from '@/common/request.js';
let request = new Request().http
 

 export function getProductCate(data) {
 	 return request('/store/app/product/getProductCate',data,'GET');
 }
 
 export function getProductCateByPid(data) {
 	 return request('/store/app/product/getProductCateByPid',data,'GET');
 }
 
 export function getProducts(data) {
 	 return request('/store/app/product/getProducts',data,'GET');
 }
 export function getProductDetails(data) {
 	 return request('/store/app/product/getProductDetails',data,'GET');
 }
 export function getCarts(data) {
 	 // return request('/store/app/product/getCarts',data,'GET');
	 return request('/store/app/product/getCartsMultiStore',data,'GET');
 }
 export function addCart(data) {
 	 return request('/store/app/product/addCart',data,'POST','application/json;charset=UTF-8');
 }
 export function delCart(data) {
 	 return request('/store/app/product/delCart',data,'POST','application/json;charset=UTF-8');
 }
 export function cartNum(data) {
 	 return request('/store/app/product/cartNum',data,'POST','application/json;charset=UTF-8');
 }
 export function getGoodsProduct() {
 	 return request('/store/app/product/getGoodsProduct',null,'GET');
 }
 export function getGoodsProducts(data) {
 	 return request('/store/app/product/getGoodsProducts',data,'GET');
 }
 export function getTuiProducts(data) {
 	 return request('/store/app/product/getTuiProducts',data,'GET');
 }
 export function getStoreProductAttrValueList(data) {
 	 return request('/store/app/product/getStoreProductAttrValueList',data,'GET');
 }
 
 export function instructionsViewable(data) {
 	 return request('/store/app/product/instructionsViewable',data,'POST','application/json;charset=UTF-8');
 }