MCPcopy Index your code
hub / github.com/TruthHun/DocHub / Get

Method Get

models/SysModel.go:59–63  ·  view source on GitHub ↗

获取系统配置信息。注意:系统配置信息的记录只有一条,而且id主键为1 @return sys 返回的系统信息 @return err 错误

()

Source from the content-addressed store, hash-verified

57//@return sys 返回的系统信息
58//@return err 错误
59func (this *Sys) Get() (sys Sys, err error) {
60 sys.Id = 1
61 err = orm.NewOrm().Read(&sys)
62 return
63}
64
65//更新系统全局变量
66//@return sys 返回的系统信息

Callers 10

UpdateGlobalConfigMethod · 0.95
CacheGetFunction · 0.45
DownFileFunction · 0.45
BuildRequestFunction · 0.45
getMethod · 0.45
DocumentProcessFunction · 0.45
RemoveToRecycleMethod · 0.45
ParseFormMethod · 0.45
UpdateCloudStoreMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected