mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-25 14:36:35 +08:00
优化代码/实现基础的实名认证功能
This commit is contained in:
@@ -35,7 +35,7 @@ func (this *SysEventDAO) CreateEvent(tx *dbs.Tx, event EventInterface) error {
|
||||
return errors.New("event should not be nil")
|
||||
}
|
||||
|
||||
op := NewSysEventOperator()
|
||||
var op = NewSysEventOperator()
|
||||
op.Type = event.Type()
|
||||
|
||||
eventJSON, err := json.Marshal(event)
|
||||
|
||||
Reference in New Issue
Block a user