diff --git a/app/Services/TG/Hook/Mod/DOG.php b/app/Services/TG/Hook/Dog.php similarity index 99% rename from app/Services/TG/Hook/Mod/DOG.php rename to app/Services/TG/Hook/Dog.php index 7074182..4ff2bcc 100644 --- a/app/Services/TG/Hook/Mod/DOG.php +++ b/app/Services/TG/Hook/Dog.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Services\TG\Hook\Mod; +namespace App\Services\TG\Hook; use App\Models\Me as ModelMe; use App\Models\DogOption as ModelDogOption; @@ -14,14 +14,14 @@ use App\Models\Option as ModelOption; // $this->oDog->_setInFormat(["type"]); // 可选,zero^int,^date,^dateFull // $this->oDog->_setOutFormat(["time" => "date"]); // 可选,date,dateFull -class DOG extends Base { +class Dog extends Mod\Base { public $oModelSelf; public $sPrimaryKey = "id"; public $iStrMaxLen = 50; public $aStrField = []; - public $inFormat = []; - public $outFormat = []; + public $aInFormat = []; + public $aOutFormat = []; public $sDogName; public function __construct($oModelSelf = false) diff --git a/app/Services/TG/Hook/Mod/Hub.php b/app/Services/TG/Hook/Mod/Hub.php index 0c9dbd3..7b84a3c 100644 --- a/app/Services/TG/Hook/Mod/Hub.php +++ b/app/Services/TG/Hook/Mod/Hub.php @@ -1,7 +1,7 @@