|
@@ -1045,7 +1045,7 @@ func (this *ReportController) VoiceUpload() {
|
|
|
}
|
|
|
|
|
|
// 如果不是自己创建的报告,那么要去校验是否属于授权用户
|
|
|
- if this.SysUser.AdminId == reportInfo.AdminId {
|
|
|
+ if this.SysUser.AdminId != reportInfo.AdminId {
|
|
|
isAuth, err := services.CheckChapterAuthByReportChapterInfo(this.SysUser.AdminId, reportChapterInfo)
|
|
|
if err != nil {
|
|
|
br.Msg = "获取报告权限失败"
|