作者 tangxvhui

bug 修复

... ... @@ -88,6 +88,30 @@ var RouterPermission = map[string]PermissionBase{
"/v1/audit/list": PermissionBase{CodeName: M_SYSTEM_OPPORTUNITY, ActionName: "check"},
"/v1/audit/info": PermissionBase{CodeName: M_SYSTEM_OPPORTUNITY, ActionName: "check"},
"/v1/audit/allow_forbid": PermissionBase{CodeName: M_SYSTEM_OPPORTUNITY, ActionName: "close_chance"},
"/v1/rank/type/list": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
"/v1/rank/type/edit": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
"/v1/rank/type/forbid_allow": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
"/v1/rank/type/config_show": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
"/v1/rank/type/config_set": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
"/v1/rank/season/add": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
"/v1/rank/season/list": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
"/v1/rank/season/edit": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
"/v1/rank/range/list": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
"/v1/rank/range/edit": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
"/v1/rank/range/add": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
"/v1/rank/range/forbid_allow": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
"/v1/rank/range/info": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
"/v1/rank/range/sort": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
"/v1/rank/range/move": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
"/v1/rank/item/list": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
"/v1/rank/item/edit": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
"/v1/achievement/list": PermissionBase{CodeName: M_SYSTEM_ACHIEVEMENT, ActionName: "default"},
"/v1/achievement/add": PermissionBase{CodeName: M_SYSTEM_ACHIEVEMENT, ActionName: "default"},
"/v1/achievement/edit": PermissionBase{CodeName: M_SYSTEM_ACHIEVEMENT, ActionName: "default"},
"/v1/achievement/info": PermissionBase{CodeName: M_SYSTEM_ACHIEVEMENT, ActionName: "default"},
"/v1/achievement/delete": PermissionBase{CodeName: M_SYSTEM_ACHIEVEMENT, ActionName: "default"},
"/v1/achievement/forbid_allow": PermissionBase{CodeName: M_SYSTEM_ACHIEVEMENT, ActionName: "default"},
"/v1/achievement/remain/score": PermissionBase{CodeName: M_SYSTEM_ACHIEVEMENT, ActionName: "default"},
}
type CodeToObject func() PermissionOptionObject
... ...