Skip to content

Commit

Permalink
update helper
Browse files Browse the repository at this point in the history
  • Loading branch information
qiqizjl committed Feb 12, 2019
1 parent 75522f7 commit ef37f42
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,4 @@
*/

//加入Hook
\think\facade\Hook::add('app_init', \Naixiaoxin\ThinkWechat\Behavior\AppInit::class);
//加入Command
\think\Console::addDefaultCommands([
"Naixiaoxin\\ThinkWechat\\Command\\Config",
]);
\think\facade\Hook::add('app_init', \Naixiaoxin\ThinkWechat\Behavior\AppInit::class);

0 comments on commit ef37f42

Please sign in to comment.