config_global

package
v0.0.0-...-1489327 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2022 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CountOptions

func CountOptions(condArr map[string]string) int64

统计数量

func SaveGlobalConfig

func SaveGlobalConfig(id string, value string) error

Types

type GlobalOption

type GlobalOption struct {
	Id          string `orm:"pk;column(Id);"`
	Name        string `orm:"column(name);"`
	Value       string `orm:"column(value);"`
	Description string `orm:"column(description);"`
}

func ListGlobalOptions

func ListGlobalOptions(condArr map[string]string, page int, offset int) (num int64, err error, options []GlobalOption)

获取全局配置列表

func (*GlobalOption) TableName

func (this *GlobalOption) TableName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL