优化代码/实现基础的实名认证功能

This commit is contained in:
GoEdgeLab
2022-07-24 09:56:27 +08:00
parent 7f64c98d88
commit d80b5a862f
89 changed files with 353 additions and 249 deletions

View File

@@ -36,7 +36,7 @@ func init() {
// CreateLog 创建管理员日志
func (this *LogDAO) CreateLog(tx *dbs.Tx, adminType string, adminId int64, level string, description string, action string, ip string) error {
op := NewLogOperator()
var op = NewLogOperator()
op.Level = level
op.Description = description
op.Action = action