|
@@ -183,6 +183,19 @@ func (this *TargetController) DataAdd() {
|
|
|
br.ErrMsg = "新增失败,Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
+
|
|
|
+ // 添加操作记录
|
|
|
+ go func() {
|
|
|
+ record := &models.EdbinfoOpRecord{
|
|
|
+ TradeCode: edbdata.TradeCode,
|
|
|
+ Remark: "更新数据",
|
|
|
+ UserId: this.SysUser.AdminId,
|
|
|
+ UserName: this.SysUser.RealName,
|
|
|
+ CreateTime: time.Now(),
|
|
|
+ }
|
|
|
+ _ = record.Create()
|
|
|
+ }()
|
|
|
+
|
|
|
br.Ret = 200
|
|
|
br.Success = true
|
|
|
br.Msg = "新增成功"
|