Update dictData.go
This commit is contained in:
1 parent
8240adafb0
commit
7af0f6d3fc
1 file changed
+1
@@ -43,6 +43,7 @@ type DictData struct {
|
||||
func (e *DictData) Create() (DictData, error) {
|
||||
var doc DictData
|
||||
e.CreateTime = time.Now().String()
|
||||
e.UpdateTime = utils.GetCurrntTime()
|
||||
result := orm.Eloquent.Table("sys_dict_data").Create(&e)
|
||||
if result.Error != nil {
|
||||
err := result.Error
|
||||
|
||||
Reference in new issue
Block a user