feat: update system setting
This commit is contained in:
1 parent
6f8ad4efe4
commit
70e0141f64
2 files changed
+15
-16
No files matched your search
+1
-1
@@ -16,7 +16,7 @@ func (SysSetting) TableName() string {
|
||||
}
|
||||
|
||||
//查询
|
||||
func (s *SysSetting) Query() (create SysSetting, err error) {
|
||||
func (s *SysSetting) Get() (create SysSetting, err error) {
|
||||
result := orm.Eloquent.Table("sys_setting").First(&create)
|
||||
if result.Error != nil {
|
||||
err = result.Error
|
||||
|
||||
Reference in new issue
Block a user