1234567891011121314151617181920212223242526272829303132333435363738394041 |
- const request = uni.$u.http
- // 获取产品列表
- export function getProducts(data){
- return request.post(
- `v1/product/productList`,
- data
- )
- }
- // 获取产品详情
- export function getProductDetail(data){
- return request.post(
- `v1/product/productDetail`,
- data
- )
- }
- //奖品订单兑换
- export function orderExchange(data){
- return request.post(
- `v1/order/orderExchange`,
- data
- )
- }
- //积分产品订单兑换
- export function integralExchange(data){
- return request.post(
- `v1/integral/integralExchange`,
- data
- )
- }
- export default {
- getProducts,
- getProductDetail,
- orderExchange,
- integralExchange
- }
|