checkstoreService.js
449 Bytes
import BaseService from '../../libs/services/baseService.js';
const UFO_CHECK_STORE = 'ufo.store.isLocationInStore';
export default class checkstoreService extends BaseService {
async checkStore(params, complete) {
return await this.GET(
{
...params,
method: UFO_CHECK_STORE
},
{
complete
}
).then((data) => {
return data;
}).catch((error) => {
return error;
})
}
}