personal.js
465 Bytes
import api from '../utils/api';
const UFO_ORDER_SUMMARY = 'ufo.order.summary'
const UFO_FAVORITE_NUMBER = 'ufo.user.favoriteNum'
export default {
getUFO_OrderSummary(params) {
return api.get({
url: '/shopping',
data: Object.assign({
method: UFO_ORDER_SUMMARY
}, params)
});
},
getUFO_FavoriteNumber(params) {
return api.get({
data: Object.assign({
method: UFO_FAVORITE_NUMBER
}, params)
})
}
}