From 66acbeee8b3664513065c68e9bc98eb8ff800126 Mon Sep 17 00:00:00 2001 From: JaguarJack Date: Sun, 7 Jun 2020 14:23:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=BE=AE=E4=BF=A1=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../catcher/command/publish/WechatCommand.php | 38 ++++++++++++++++++- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/extend/catcher/command/publish/WechatCommand.php b/extend/catcher/command/publish/WechatCommand.php index 733200c..3716325 100644 --- a/extend/catcher/command/publish/WechatCommand.php +++ b/extend/catcher/command/publish/WechatCommand.php @@ -29,7 +29,7 @@ class WechatCommand extends Command { file_put_contents(config_path() . 'wechat.php', $this->config()); - file_put_contents(root_path(). '.env', $this->env(), FILE_APPEND); + $this->env(); $output->warning('wechat publish successfully'); } @@ -67,9 +67,43 @@ return [ ], ], + /** + * 小程序 + */ + 'mini_program' => [ + // 更多配置查看 https://www.easywechat.com/docs/master/mini-program/index + ], + + /** + * 开放平台 + */ + 'open_platform' => [ + // 更多配置查看 https://www.easywechat.com/docs/master/open-platform/index + ], + + /** + * 企业微信 + */ + 'work' => [ + // 更多配置查看 https://www.easywechat.com/docs/master/wework/index + ], + + /** + * 企业微信开放平台 + */ + 'open_work' => [ + // 配置 https://www.easywechat.com/docs/master/open-work/index + ], + + /** + * 小微商户 + */ + 'micro_merchant' => [ + // 配置 https://www.easywechat.com/docs/master/micro-merchant/index + ], + /** * wechat pay - * */ 'payment' => [ 'app_id' => 'xxxx',