Selaa lähdekoodia

培训视频-优化保存

hsun 1 vuosi sitten
vanhempi
commit
5f954c047c
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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 = "操作成功"