Skip to content

Commit

Permalink
Merge branch 'master' of github.com:overtrue/laravel-wechat
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Sep 5, 2016
2 parents 758072d + 6414053 commit 305b751
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ protected function setupConfig()
$source = realpath(__DIR__.'/config.php');

if ($this->app instanceof LaravelApplication) {

if ($this->app->runningInConsole()) {
$this->publishes([
$source => config_path('wechat.php'),
Expand Down Expand Up @@ -82,7 +81,7 @@ public function provides()
}

/**
* 创建模拟登录
* 创建模拟登录.
*/
protected function setUpMockAuthUser()
{
Expand Down
2 changes: 1 addition & 1 deletion src/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
// // ...
// ],

/**
/*
* 开发模式下的免授权模拟授权用户资料
*
* 当 enable_mock 为 true 则会启用模拟微信授权,用于开发时使用,开发完成请删除或者改为 false 即可
Expand Down

0 comments on commit 305b751

Please sign in to comment.