|
@@ -78,16 +78,6 @@ export const actions = {
|
|
|
}
|
|
|
}).then(response => {
|
|
|
commit('storeCms/GET_NEW_STORES_SUCCESS', response.data)
|
|
|
- commit('storeCms/REQUEST_STORE_COUNT')
|
|
|
- return axios.get('/api/store-service/stores/type/count', {
|
|
|
- params: {
|
|
|
- types: params.types
|
|
|
- }
|
|
|
- }).then(response => {
|
|
|
- commit('storeCms/GET_STORE_COUNT_SUCCESS', response.data && response.data.success ? response.data.data : 0)
|
|
|
- }, err => {
|
|
|
- commit('storeCms/GET_STORE_COUNT_FAILURE', err)
|
|
|
- })
|
|
|
}, err => {
|
|
|
commit('storeCms/GET_NEW_STORES_FAILURE', err)
|
|
|
})
|