Skip to content

Commit 305b751

Browse files
committed
Merge branch 'master' of github.com:overtrue/laravel-wechat
2 parents 758072d + 6414053 commit 305b751

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/ServiceProvider.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ protected function setupConfig()
3737
$source = realpath(__DIR__.'/config.php');
3838

3939
if ($this->app instanceof LaravelApplication) {
40-
4140
if ($this->app->runningInConsole()) {
4241
$this->publishes([
4342
$source => config_path('wechat.php'),
@@ -82,7 +81,7 @@ public function provides()
8281
}
8382

8483
/**
85-
* 创建模拟登录
84+
* 创建模拟登录.
8685
*/
8786
protected function setUpMockAuthUser()
8887
{

src/config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
// // ...
5959
// ],
6060

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

0 commit comments

Comments
 (0)