123456789101112131415 |
- import axios from '~plugins/axios'
- export const actions = {
-
- searchStoreDetail ({ commit }, params = {}) {
- commit('searchStoreDetail/REQUEST_STORE', params)
- return axios.get(`/search/stores`, {params})
- .then(response => {
- commit('searchStoreDetail/GET_STORE_SUCCESS', response.data)
- }, err => {
- commit('searchStoreDetail/GET_STORE_FAILURE', err)
- })
- }
- }
|