rename NHero->Hero

This commit is contained in:
aozhiwei 2021-11-18 19:29:04 +08:00
parent 80314eb940
commit d2bf465b9a
3 changed files with 5 additions and 2 deletions

View File

@ -2,7 +2,7 @@
import _common import _common
class NHero(object): class Hero(object):
def __init__(self): def __init__(self):
self.apis = [ self.apis = [

View File

@ -1,6 +1,8 @@
<?php <?php
require_once('mt/NewShop.php'); require_once('mt/NewShop.php');
class NHeroController extends BaseAuthedController {
class HeroController extends BaseAuthedController {
public function addItemToDB() public function addItemToDB()

View File

@ -27,6 +27,7 @@ $rewriteRule = array(
'NGun' => 'Gun', 'NGun' => 'Gun',
'Property' => 'Role', 'Property' => 'Role',
'NBag' => 'Bag', 'NBag' => 'Bag',
'NHero' => 'Hero',
); );
function getRewriteClass($oldC) function getRewriteClass($oldC)