aa
This commit is contained in:
12
services/config.go
Normal file
12
services/config.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package services
|
||||
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user