cart.js 293 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 import api from '../../common/api'; export default { /** * 购物车数据 * @param params * @returns {*} */ getCartData(params) { return api.get({ url: '', data: Object.assign({ method: 'app.Shopping.queryCart' }, params) }); } };