2020-01-18 11:49:49 +00:00
|
|
|
//const main = 'https://192.168.5.128:5000/'
|
2020-03-05 20:31:52 +00:00
|
|
|
const main = 'http://localhost:5000/'
|
2020-03-04 20:12:08 +00:00
|
|
|
//const main = 'http://192.168.5.118:5000/'
|
2020-03-05 20:31:52 +00:00
|
|
|
//const main = 'https://groeger-clan.duckdns.org:5000/'
|
2020-01-05 22:39:30 +00:00
|
|
|
|
|
|
|
const url = {
|
2020-01-14 21:01:24 +00:00
|
|
|
login: main + 'login',
|
2020-03-03 21:29:32 +00:00
|
|
|
getUsers: main + 'getUsers',
|
2020-02-27 20:54:28 +00:00
|
|
|
pricelist: main + 'pricelist',
|
2020-03-01 18:18:58 +00:00
|
|
|
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',
|
|
|
|
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
|
|
|
}
|
2020-01-26 22:55:59 +00:00
|
|
|
},
|
|
|
|
user: {
|
2020-01-27 18:56:56 +00:00
|
|
|
config: main + 'user/saveConfig',
|
2020-02-23 21:32:31 +00:00
|
|
|
job: main + 'user/job',
|
2020-02-24 17:57:28 +00:00
|
|
|
addJob: main + 'user/addJob',
|
2020-02-25 21:34:45 +00:00
|
|
|
deleteJob: main + 'user/deleteJob',
|
|
|
|
transactJob: main + 'user/transactJob',
|
|
|
|
answerTransactJob: main + 'user/answerTransactJob',
|
|
|
|
jobRequests: main + 'user/jobRequests',
|
|
|
|
getTransactJobs: main + 'user/getTransactJobs',
|
2020-02-27 14:52:58 +00:00
|
|
|
deleteTransactJobs: main + 'user/deleteTransactJob',
|
2020-03-03 21:29:32 +00:00
|
|
|
storno: main + 'user/storno',
|
|
|
|
getAllStatus: main + 'getAllStatus',
|
|
|
|
getStatus: main + 'getStatus'
|
2020-02-19 22:22:23 +00:00
|
|
|
},
|
|
|
|
barU: {
|
|
|
|
storno: main + 'bar/storno'
|
2020-03-01 18:18:58 +00:00
|
|
|
},
|
|
|
|
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-05 22:39:30 +00:00
|
|
|
|
2020-01-14 21:01:24 +00:00
|
|
|
export default url
|