13 lines
316 B
Go
13 lines
316 B
Go
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)
|
|
}
|