修复前端项目代码丢失,问题,修复角色拷贝功能

This commit is contained in:
pixel
2020-04-24 10:23:40 +08:00
parent e0f2153172
commit 03e14142e3
3 changed files with 13 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ func CopyAuthority(c *gin.Context) {
_ = c.ShouldBindJSON(&copyInfo)
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)
}