Browse Source

培训视频-优化保存

hsun 1 year ago
parent
commit
5f954c047c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      controllers/eta_training_video/eta_training_video.go

+ 2 - 0
controllers/eta_training_video/eta_training_video.go

@@ -309,6 +309,7 @@ func (this *EtaTrainingVideoController) Add() {
 		}
 	}()
 
+	br.Data = item.EtaTrainingVideoId
 	br.Ret = 200
 	br.Success = true
 	br.Msg = "操作成功"
@@ -486,6 +487,7 @@ func (this *EtaTrainingVideoController) Edit() {
 		}
 	}()
 
+	br.Data = item.EtaTrainingVideoId
 	br.Ret = 200
 	br.Success = true
 	br.Msg = "操作成功"