作者 tangxvhui

bug 修复

@@ -88,6 +88,30 @@ var RouterPermission = map[string]PermissionBase{ @@ -88,6 +88,30 @@ var RouterPermission = map[string]PermissionBase{
88 "/v1/audit/list": PermissionBase{CodeName: M_SYSTEM_OPPORTUNITY, ActionName: "check"}, 88 "/v1/audit/list": PermissionBase{CodeName: M_SYSTEM_OPPORTUNITY, ActionName: "check"},
89 "/v1/audit/info": PermissionBase{CodeName: M_SYSTEM_OPPORTUNITY, ActionName: "check"}, 89 "/v1/audit/info": PermissionBase{CodeName: M_SYSTEM_OPPORTUNITY, ActionName: "check"},
90 "/v1/audit/allow_forbid": PermissionBase{CodeName: M_SYSTEM_OPPORTUNITY, ActionName: "close_chance"}, 90 "/v1/audit/allow_forbid": PermissionBase{CodeName: M_SYSTEM_OPPORTUNITY, ActionName: "close_chance"},
  91 + "/v1/rank/type/list": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
  92 + "/v1/rank/type/edit": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
  93 + "/v1/rank/type/forbid_allow": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
  94 + "/v1/rank/type/config_show": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
  95 + "/v1/rank/type/config_set": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
  96 + "/v1/rank/season/add": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
  97 + "/v1/rank/season/list": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
  98 + "/v1/rank/season/edit": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
  99 + "/v1/rank/range/list": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
  100 + "/v1/rank/range/edit": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
  101 + "/v1/rank/range/add": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
  102 + "/v1/rank/range/forbid_allow": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
  103 + "/v1/rank/range/info": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
  104 + "/v1/rank/range/sort": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
  105 + "/v1/rank/range/move": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
  106 + "/v1/rank/item/list": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
  107 + "/v1/rank/item/edit": PermissionBase{CodeName: M_SYSTEM_RANK, ActionName: "default"},
  108 + "/v1/achievement/list": PermissionBase{CodeName: M_SYSTEM_ACHIEVEMENT, ActionName: "default"},
  109 + "/v1/achievement/add": PermissionBase{CodeName: M_SYSTEM_ACHIEVEMENT, ActionName: "default"},
  110 + "/v1/achievement/edit": PermissionBase{CodeName: M_SYSTEM_ACHIEVEMENT, ActionName: "default"},
  111 + "/v1/achievement/info": PermissionBase{CodeName: M_SYSTEM_ACHIEVEMENT, ActionName: "default"},
  112 + "/v1/achievement/delete": PermissionBase{CodeName: M_SYSTEM_ACHIEVEMENT, ActionName: "default"},
  113 + "/v1/achievement/forbid_allow": PermissionBase{CodeName: M_SYSTEM_ACHIEVEMENT, ActionName: "default"},
  114 + "/v1/achievement/remain/score": PermissionBase{CodeName: M_SYSTEM_ACHIEVEMENT, ActionName: "default"},
91 } 115 }
92 116
93 type CodeToObject func() PermissionOptionObject 117 type CodeToObject func() PermissionOptionObject