修复前端项目代码丢失,问题,修复角色拷贝功能
This commit is contained in:
@@ -42,7 +42,7 @@ func CopyAuthority(c *gin.Context) {
|
||||
_ = c.ShouldBindJSON(©Info)
|
||||
err, authBack := service.CopyAuthority(copyInfo)
|
||||
if err != nil {
|
||||
response.FailWithMessage(fmt.Sprintf("创建失败,%v", err), c)
|
||||
response.FailWithMessage(fmt.Sprintf("拷贝失败,%v", err), c)
|
||||
} else {
|
||||
response.OkWithData(resp.SysAuthorityResponse{Authority: authBack}, c)
|
||||
}
|
||||
|
Reference in New Issue
Block a user