From d2bf465b9a73d0a1ff2adb4c6c42cdaeb554b793 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 18 Nov 2021 19:29:04 +0800 Subject: [PATCH] rename NHero->Hero --- doc/{NHero.py => Hero.py} | 2 +- .../{NHeroController.class.php => HeroController.class.php} | 4 +++- webapp/index.php | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) rename doc/{NHero.py => Hero.py} (99%) rename webapp/controller/{NHeroController.class.php => HeroController.class.php} (97%) diff --git a/doc/NHero.py b/doc/Hero.py similarity index 99% rename from doc/NHero.py rename to doc/Hero.py index 31febbf8..fe0c3ef5 100644 --- a/doc/NHero.py +++ b/doc/Hero.py @@ -2,7 +2,7 @@ import _common -class NHero(object): +class Hero(object): def __init__(self): self.apis = [ diff --git a/webapp/controller/NHeroController.class.php b/webapp/controller/HeroController.class.php similarity index 97% rename from webapp/controller/NHeroController.class.php rename to webapp/controller/HeroController.class.php index c0911bfc..862f3207 100644 --- a/webapp/controller/NHeroController.class.php +++ b/webapp/controller/HeroController.class.php @@ -1,6 +1,8 @@ 'Gun', 'Property' => 'Role', 'NBag' => 'Bag', + 'NHero' => 'Hero', ); function getRewriteClass($oldC)