cmd/app
main.go +2 -2
pkg
engine
checkin.go +75 -5
request.go +7 -0
response.go +16 -0
sync.go +29 -0
ticket.go +31 -0
helper
config.go +7 -0
db.go +422 -0
helper-db.go +0 -168
helper-http.go +0 -8
helper-mgo-db.go +0 -136
model
checklog.go +18 -8
repository
checkin.go +21 -1
checklog.go +18 -1
ticket.go +19 -0
services
sync
base.go +3 -3
audit_trail.go +50 -51
checkin.go +91 -42
checklog.go +24 -7
event_validation.go +4 -1
ticket.go +24 -0
tools/migration
main.go +2 -2
web/app
components/widget
dialog-ticket-scan.vue +51 -160
pages
checkin
scan
index.vue +213 -214
index.vue +49 -49
screen
index.vue +3 -3
sync
index.vue +67 -115
visitorcounter
index.vue +5 -4
index.vue +1 -1
store
layout.js +19 -19
+ 2
- 2
@@ -86,9 +86,9 @@ func main() {
+ 75
- 5
@@ -4,7 +4,9 @@ import (
@@ -15,11 +17,16 @@ type CheckinRequest struct {
@@ -27,18 +34,81 @@ func (o *Checklog) Checkin(ctx *kaos.Context, req *CheckinRequest) (*CheckinResp
pkg/engine/request.go
0 → 100644
+ 7
- 0
pkg/engine/response.go
0 → 100644
+ 16
- 0
pkg/engine/sync.go
0 → 100644
+ 29
- 0