index.js
488 Bytes
import api from '../../common/api';
export default {
getDetail(activityId) {
return api.get({
url: '/ActivityConfigController/getFrontDetailById',
data: {
activityId,
isFront: 1
},
api: 'store'
}).then(result => {
if (result.code === 200 && result.data) {
return result.data;
} else {
return {};
}
});
}
};