...
|
...
|
@@ -43,12 +43,14 @@ export default { |
|
|
|
|
|
if (result.code === 200) {
|
|
|
commit(Types.FETCH_UFO_STATUS_SUCCESS, result.data);
|
|
|
} if (result.code === 401) {
|
|
|
commit(Types.FETCH_UFO_NEED_LOGIN, true);
|
|
|
} else {
|
|
|
commit(Types.FETCH_UFO_STATUS_SUCCESS, -1);
|
|
|
}
|
|
|
},
|
|
|
|
|
|
async getStoreStatus({commit}) {
|
|
|
async getStoreStatus({ commit }) {
|
|
|
const result = await this.$api.get('/api/ufo/store/status');
|
|
|
|
|
|
return result;
|
...
|
...
|
|