mirror of http://gitlab.batiao8.com/yic/film.git
day
This commit is contained in:
parent
40a1ead7fa
commit
03d106e48e
|
@ -2,6 +2,7 @@ package model
|
|||
|
||||
type Nowcar struct {
|
||||
Id int64
|
||||
Day string
|
||||
ShopName string
|
||||
Workstation string
|
||||
StartTime int64
|
||||
|
|
|
@ -72,6 +72,7 @@ func getInfo(devId string) ([]string, error) {
|
|||
continue
|
||||
}
|
||||
m.Id = 0
|
||||
m.Day = time.Now().Format("2006-01-02")
|
||||
m.Workstation = workstation
|
||||
m.StartTime = startTime.Unix()
|
||||
dao.NewNowCarDao().Create(m)
|
||||
|
|
Loading…
Reference in New Issue