This commit is contained in:
suyl
2021-10-15 18:10:34 +08:00
parent ec971561bb
commit 2a38ee5c42
4 changed files with 125 additions and 0 deletions

View File

@@ -187,3 +187,20 @@ func GetPrintMessages(c *gin.Context) {
}
return
}
//查询打印统计(首页) GET
func GetPrinterReport(c *gin.Context) {
var (
tokenInfo *model.TokenInfo
)
if tokenInfo = checkToken(c); tokenInfo == nil {
return
}
if !callFunc(c, func() (retVal interface{}, errCode string, err error) {
retVal, err = services.GetPrinterReport(c, tokenInfo)
return retVal, "", err
}) {
return
}
return
}