| 1234567891011121314 |
- import axios from '~plugins/axios'
- export const actions = {
- // app获取购物车列表
- loadCartList({ commit }, params = {}) {
- commit('list/REQUEST_CART')
- return axios.get('/trade/cart/pageInfo', {params: params})
- .then(response => {
- commit('list/GET_CART_SUCCESS', response.data)
- }, err => {
- commit('list/GET_CART_FAILURE', err)
- })
- }
- }
|