flaschengeist-frontend/src/plugins/routes.js

73 lines
2.3 KiB
JavaScript
Raw Normal View History

2020-01-18 11:49:49 +00:00
//const main = 'https://192.168.5.128:5000/'
const main = 'http://localhost:5000/'
2020-03-04 20:12:08 +00:00
//const main = 'http://192.168.5.118:5000/'
//const main = 'https://groeger-clan.duckdns.org:5000/'
const url = {
2020-01-14 21:01:24 +00:00
login: main + 'login',
logout: main + 'logout',
2020-03-03 21:29:32 +00:00
getUsers: main + 'getUsers',
2020-02-27 20:54:28 +00:00
pricelist: main + 'pricelist',
getTypes: main + 'drinkTypes',
2020-01-14 21:01:24 +00:00
getFinanzerMain: main + 'getFinanzerMain',
bar: main + 'bar',
barGetUser: main + 'barGetUser',
barAddAmount: main + 'baradd',
finanzerAddAmount: main + 'finanzerAddAmount',
finanzerAddCredit: main + 'finanzerAddCredit',
searchUser: main + 'search',
getAllUser: main + 'barGetUsers',
lockUser: main + 'finanzerLock',
finanzerSetConfig: main + 'finanzerSetConfig',
finanzerAddUser: main + 'finanzerAddUser',
finanzerSendAllMail: main + 'finanzerSendAllMail',
2020-01-17 00:01:10 +00:00
finanzerSendOneMail: main + 'finanzerSendOneMail',
userMain: main + 'user/main',
2020-01-19 20:31:48 +00:00
userAddAmount: main + 'user/addAmount',
saveLifeTime: main + 'saveLifeTime',
getLifeTime: main + 'getLifeTime',
2020-01-19 20:31:48 +00:00
vorstand: {
sm: {
addUser: main + 'sm/addUser',
deleteUser: main + 'sm/deleteUser',
2020-02-24 11:19:13 +00:00
getUser: main + 'sm/getUser',
2020-03-04 20:12:08 +00:00
lockDay: main + 'sm/lockDay',
searchUser: main + 'sm/searchWithExtern'
2020-03-03 21:29:32 +00:00
},
um: {
setStatus: main + 'um/setStatus',
updateStatus: main + 'um/updateStatus',
deleteStatus: main + 'um/deleteStatus',
updateStatusUser: main + 'um/updateStatusUser',
updateVoting: main + 'um/updateVoting'
2020-01-19 20:31:48 +00:00
}
},
user: {
config: main + 'user/saveConfig',
2020-02-23 21:32:31 +00:00
job: main + 'user/job',
addJob: main + 'user/addJob',
deleteJob: main + 'user/deleteJob',
transactJob: main + 'user/transactJob',
answerTransactJob: main + 'user/answerTransactJob',
jobRequests: main + 'user/jobRequests',
getTransactJobs: main + 'user/getTransactJobs',
deleteTransactJobs: main + 'user/deleteTransactJob',
2020-03-03 21:29:32 +00:00
storno: main + 'user/storno',
getAllStatus: main + 'getAllStatus',
getStatus: main + 'getStatus'
},
barU: {
storno: main + 'bar/storno'
},
gastro: {
setDrink: main + 'gastro/setDrink',
updateDrink: main + 'gastro/updateDrink',
deleteDrink: main + 'gastro/deleteDrink',
setType: main + 'gastro/setDrinkType',
updateType: main + 'gastro/updateDrinkType',
deleteType: main + 'gastro/deleteDrinkType'
2020-01-19 20:31:48 +00:00
}
2020-01-14 21:01:24 +00:00
}
2020-01-14 21:01:24 +00:00
export default url