...
|
...
|
@@ -2,6 +2,7 @@ import api from '../utils/api'; |
|
|
|
|
|
const UFO_ORDER_SUMMARY = 'ufo.order.summary'
|
|
|
const UFO_FAVORITE_NUMBER = 'ufo.user.favoriteNum'
|
|
|
const UFO_COUPONS_COUNT = 'ufo.coupons.cnt'
|
|
|
|
|
|
export default {
|
|
|
getUFO_OrderSummary(params) {
|
...
|
...
|
@@ -18,5 +19,13 @@ export default { |
|
|
method: UFO_FAVORITE_NUMBER
|
|
|
}, params)
|
|
|
})
|
|
|
},
|
|
|
getUFOTotalCoupons(params) {
|
|
|
return api.get({
|
|
|
url: '/coupon',
|
|
|
data: Object.assign({
|
|
|
method: UFO_COUPONS_COUNT
|
|
|
}, params)
|
|
|
})
|
|
|
}
|
|
|
} |
...
|
...
|
|