@@ -58,7 +58,7 @@ type GetErmcpRolefuncMenuReq struct {
Mode int `form:"mode"`
}
-// GetErmcpRolefuncMenu 获取企业风管终端权限
+// GetErmcpRoleFuncMenuLists 获取企业风管终端权限
// @Summary 获取企业风管终端权限
// @Produce json
// @Security ApiKeyAuth
@@ -851,7 +851,7 @@ func GetErmcpRoleFuncMenuLists(loginID int, resourceCode string) ([]Funcmenulist
// 构建RoleID列表
roleIDs := ""
for _, areaRole := range areaRoles {
- roleIDs += strconv.Itoa(int(areaRole.Roletype))
+ roleIDs += "," + strconv.Itoa(int(areaRole.Roletype))
if len(roleIDs) > 0 {
roleIDs = roleIDs[1:]