This commit is contained in:
jiangyong 2024-04-28 00:17:40 +08:00
parent eb1823486b
commit b412608145
2 changed files with 6 additions and 6 deletions

8
go.mod
View File

@ -8,14 +8,14 @@ require (
github.com/lestrrat-go/file-rotatelogs v2.4.0+incompatible github.com/lestrrat-go/file-rotatelogs v2.4.0+incompatible
github.com/mitchellh/mapstructure v1.5.0 github.com/mitchellh/mapstructure v1.5.0
github.com/rifflock/lfshook v0.0.0-20180920164130-b9218ef580f5 github.com/rifflock/lfshook v0.0.0-20180920164130-b9218ef580f5
github.com/sirupsen/logrus v1.9.0 github.com/sirupsen/logrus v1.9.3
github.com/smbrave/goutil v0.0.0-20230208141215-e3360c3bfd1b github.com/smbrave/goutil v0.0.0-20240307100306-1a2edd79979d
github.com/spf13/cast v1.5.0 github.com/spf13/cast v1.5.0
github.com/spf13/viper v1.15.0 github.com/spf13/viper v1.15.0
github.com/tidwall/gjson v1.17.1 github.com/tidwall/gjson v1.17.1
gitlab.com/jiangyong27/gobase v1.0.23 gitlab.com/jiangyong27/gobase v1.0.23
gorm.io/driver/mysql v1.4.7 gorm.io/driver/mysql v1.4.7
gorm.io/gorm v1.24.6 gorm.io/gorm v1.25.10
) )
require ( require (
@ -45,7 +45,7 @@ require (
go.opentelemetry.io/otel/trace v1.14.0 // indirect go.opentelemetry.io/otel/trace v1.14.0 // indirect
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect
golang.org/x/sync v0.1.0 // indirect golang.org/x/sync v0.1.0 // indirect
golang.org/x/sys v0.10.0 // indirect golang.org/x/sys v0.19.0 // indirect
golang.org/x/text v0.11.0 // indirect golang.org/x/text v0.11.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect

View File

@ -96,9 +96,9 @@ func getInfo(devId string) ([]string, error) {
continue continue
} }
//订单完成提示 //订单完成提示
log.Errorf("shopName=%s workstation=%s time=[%s-%s]", log.Errorf("shopName=%s workstation=%s time=[%s-%s], money=%s",
m2.ShopName, m2.Workstation, goutil.TimeToDateTime(m2.StartTime), m2.ShopName, m2.Workstation, goutil.TimeToDateTime(m2.StartTime),
goutil.TimeToDateTime(m2.EndTime)) goutil.TimeToDateTime(m2.EndTime), goutil.FormatMoney(m2.Amount))
} }
} }