update
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"gorm.io/gorm"
|
||||
|
||||
"portal-mini-go/internal/pkg/types"
|
||||
)
|
||||
|
||||
// MiniProgram 是被后台纳管的微信小程序配置。
|
||||
@@ -17,8 +17,8 @@ type MiniProgram struct {
|
||||
AppSecret string `gorm:"column:app_secret;type:varchar(128);not null" json:"-"`
|
||||
Status int8 `gorm:"type:tinyint;not null;default:1" json:"status"`
|
||||
Ext string `gorm:"type:text" json:"ext"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
CreatedAt types.Time `json:"created_at"`
|
||||
UpdatedAt types.Time `json:"updated_at"`
|
||||
DeletedAt gorm.DeletedAt `gorm:"index" json:"-"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user