diff --git a/catch/wechat/CatchWechatService.php b/catch/wechat/CatchWechatService.php index 88c244b..3571ede 100644 --- a/catch/wechat/CatchWechatService.php +++ b/catch/wechat/CatchWechatService.php @@ -7,8 +7,11 @@ use think\Service; class CatchWechatService extends Service { public function boot() + {} + + public function register() { - parent::boot(); // TODO: Change the autogenerated stub + $this->registerCommand(); } public function registerCommand()