mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-15 07:06:35 +08:00
实现HTTP部分功能
This commit is contained in:
20
internal/db/models/sys_setting_model.go
Normal file
20
internal/db/models/sys_setting_model.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package models
|
||||
|
||||
// 系统配置
|
||||
type SysSetting struct {
|
||||
Id uint32 `field:"id"` // ID
|
||||
UserId uint32 `field:"userId"` // 用户ID
|
||||
Code string `field:"code"` // 代号
|
||||
Value string `field:"value"` // 配置值
|
||||
}
|
||||
|
||||
type SysSettingOperator struct {
|
||||
Id interface{} // ID
|
||||
UserId interface{} // 用户ID
|
||||
Code interface{} // 代号
|
||||
Value interface{} // 配置值
|
||||
}
|
||||
|
||||
func NewSysSettingOperator() *SysSettingOperator {
|
||||
return &SysSettingOperator{}
|
||||
}
|
||||
Reference in New Issue
Block a user