mall-uniapp/sheep/api/coupon.js

29 lines
456 B
JavaScript
Raw Normal View History

2023-12-13 03:35:02 +00:00
import request from '@/sheep/request';
import request2 from '@/sheep/request2';
export default {
// 我的拼团
list: (params) =>
request({
url: 'coupon',
method: 'GET',
params,
custom: {
showLoading: false,
},
}),
2023-12-16 02:40:04 +00:00
2023-12-13 03:35:02 +00:00
detail: (id, user_coupon_id) =>
request({
url: 'coupon/' + id,
method: 'GET',
params: {
user_coupon_id,
},
}),
get: (id) =>
request({
url: 'coupon/get/' + id,
method: 'POST',
}),
};