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

This commit is contained in:
刘祥超
2022-07-24 09:56:27 +08:00
parent fe511ae7e5
commit c2600b911b
89 changed files with 353 additions and 249 deletions

View File

@@ -65,7 +65,7 @@ func (this *SysSettingDAO) UpdateSetting(tx *dbs.Tx, codeFormat string, valueJSO
if settingId == 0 {
// 新建
op := NewSysSettingOperator()
var op = NewSysSettingOperator()
op.Code = codeFormat
op.Value = valueJSON
err = this.Save(tx, op)
@@ -81,7 +81,7 @@ func (this *SysSettingDAO) UpdateSetting(tx *dbs.Tx, codeFormat string, valueJSO
}
// 修改
op := NewSysSettingOperator()
var op = NewSysSettingOperator()
op.Id = settingId
op.Value = valueJSON
err = this.Save(tx, op)