|
@@ -1231,8 +1231,9 @@ func (this *ReportController) VoiceUpload() {
|
|
|
reportChapterInfo.VideoKind = 1
|
|
|
reportChapterInfo.LastModifyAdminId = this.SysUser.AdminId
|
|
|
reportChapterInfo.LastModifyAdminName = this.SysUser.RealName
|
|
|
+ reportInfo.VoiceGenerateType = 1
|
|
|
reportChapterInfo.ModifyTime = time.Now()
|
|
|
- err = reportChapterInfo.UpdateChapter([]string{"VideoUrl", "VideoName", "VideoPlaySeconds", "VideoSize", "VideoKind", "LastModifyAdminId", "LastModifyAdminName", "ModifyTime"})
|
|
|
+ err = reportChapterInfo.UpdateChapter([]string{"VideoUrl", "VideoName", "VideoPlaySeconds", "VideoSize", "VideoKind", "LastModifyAdminId", "LastModifyAdminName", "VoiceGenerateType", "ModifyTime"})
|
|
|
if err != nil {
|
|
|
br.Msg = "上传失败"
|
|
|
br.ErrMsg = "修改报告章节的音频信息失败,Err:" + err.Error()
|