You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
299 B

8 months ago
package setting
import (
"base/app/model"
"git.oa00.com/go/mysql"
)
var SystemLogic = &systemLogic{}
type systemLogic struct {
}
// GetSystem @Title 获取配置
func (s *systemLogic) GetSystem() model.SettingSystem {
system := model.SettingSystem{}
mysql.Db.First(&system)
return system
}