正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -1934,7 +1934,7 @@ func Permission(header *protocol.RequestHeader, request *protocol.PermissionRequ | @@ -1934,7 +1934,7 @@ func Permission(header *protocol.RequestHeader, request *protocol.PermissionRequ | ||
| 1934 | rsp.EditScore = 0 | 1934 | rsp.EditScore = 0 |
| 1935 | } | 1935 | } |
| 1936 | } | 1936 | } |
| 1937 | - | 1937 | + if chance.UserId != header.UserId { |
| 1938 | //他人 | 1938 | //他人 |
| 1939 | if auditProcess, err = models.GetAuditFlowProcessListByAuditUser(request.ChanceId, header.UserId); err != nil { | 1939 | if auditProcess, err = models.GetAuditFlowProcessListByAuditUser(request.ChanceId, header.UserId); err != nil { |
| 1940 | if err == orm.ErrNoRows { | 1940 | if err == orm.ErrNoRows { |
| @@ -1959,5 +1959,6 @@ func Permission(header *protocol.RequestHeader, request *protocol.PermissionRequ | @@ -1959,5 +1959,6 @@ func Permission(header *protocol.RequestHeader, request *protocol.PermissionRequ | ||
| 1959 | log.Debug(fmt.Sprintf("用户:%v 审核过,并且当前机会在审核中 编辑权限:false", header.UserId)) | 1959 | log.Debug(fmt.Sprintf("用户:%v 审核过,并且当前机会在审核中 编辑权限:false", header.UserId)) |
| 1960 | } | 1960 | } |
| 1961 | } | 1961 | } |
| 1962 | + } | ||
| 1962 | return | 1963 | return |
| 1963 | } | 1964 | } |
-
请 注册 或 登录 后发表评论