打印机

This commit is contained in:
邹宗楠
2022-07-11 16:43:16 +08:00
parent 80c079db4e
commit ecdb628231
17 changed files with 64 additions and 61 deletions

View File

@@ -0,0 +1,12 @@
package print_server
import (
"git.rosy.net.cn/jx-print/dao"
"git.rosy.net.cn/jx-print/globals"
"git.rosy.net.cn/jx-print/model"
"github.com/gin-gonic/gin"
)
func GetConfig(c *gin.Context, configType, key string) (config *model.NewConfig, err error) {
return dao.GetConfig(globals.GetDB(), configType, key)
}