2020-01-18 11:49:49 +00:00
|
|
|
//const main = 'https://192.168.5.128:5000/'
|
2020-05-16 21:24:14 +00:00
|
|
|
const main = 'http://localhost:5000/'
|
2020-03-04 20:12:08 +00:00
|
|
|
//const main = 'http://192.168.5.118:5000/'
|
2020-05-16 21:24:14 +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-07 14:00:52 +00:00
|
|
|
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',
|
2020-03-01 18:18:58 +00:00
|
|
|
getTypes: main + 'drinkTypes',
|
2020-01-14 21:01:24 +00:00
|
|
|
getFinanzerMain: main + 'getFinanzerMain',
|
2020-05-16 21:24:14 +00:00
|
|
|
bar: main + 'bar',
|
2020-01-14 21:01:24 +00:00
|
|
|
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',
|
2020-03-07 14:00:52 +00:00
|
|
|
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-05-22 19:12:59 +00:00
|
|
|
getUsers: main + 'user/jobs',
|
2020-03-04 20:12:08 +00:00
|
|
|
lockDay: main + 'sm/lockDay',
|
2020-05-17 18:22:03 +00:00
|
|
|
searchUser: main + 'sm/searchWithExtern',
|
|
|
|
jobkind: main + 'sm/JobKind',
|
|
|
|
getAllJobKindsbKinds: main + 'sm/getAllJobKinds',
|
|
|
|
getJobKind: main + 'sm/getJobKind',
|
2020-05-22 19:12:59 +00:00
|
|
|
deleteJobKind: main + 'sm/deleteJobKind',
|
|
|
|
updateJobKindDates: main + 'jk/JobKindDate',
|
|
|
|
getJobKindDates: main + 'jk/JobKindDate'
|
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',
|
2020-05-17 11:36:20 +00:00
|
|
|
updateVoting: main + 'um/updateVoting',
|
|
|
|
updateWorkgroups: main + 'um/updateWorkgroups'
|
2020-05-16 21:24:14 +00:00
|
|
|
},
|
|
|
|
wm: {
|
|
|
|
workgroup: main + 'wgm/workgroup',
|
|
|
|
getWorkgroup: main + 'wgm/getWorkgroup',
|
|
|
|
getAllWorkgroups: main + 'wgm/getAllWorkgroups',
|
|
|
|
deleteWorkgroup: main + 'wgm/deleteWorkgroup'
|
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-03-13 17:07:57 +00:00
|
|
|
jobs: main + 'user/jobs',
|
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',
|
2020-05-11 21:03:16 +00:00
|
|
|
getStatus: main + 'getStatus',
|
|
|
|
valid: main + 'valid'
|
2020-02-19 22:22:23 +00:00
|
|
|
},
|
|
|
|
barU: {
|
2020-05-11 21:03:16 +00:00
|
|
|
storno: main + 'bar/storno',
|
|
|
|
lock: main + 'bar/lock'
|
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
|