mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update WechatService.php
This commit is contained in:
parent
fb4976501a
commit
8f14948573
@ -175,6 +175,7 @@ class WechatService extends Service
|
|||||||
/**
|
/**
|
||||||
* 获取公众号配置参数
|
* 获取公众号配置参数
|
||||||
* @return array
|
* @return array
|
||||||
|
* @throws \think\Exception
|
||||||
* @throws \think\db\exception\DataNotFoundException
|
* @throws \think\db\exception\DataNotFoundException
|
||||||
* @throws \think\db\exception\DbException
|
* @throws \think\db\exception\DbException
|
||||||
* @throws \think\db\exception\ModelNotFoundException
|
* @throws \think\db\exception\ModelNotFoundException
|
||||||
@ -183,7 +184,7 @@ class WechatService extends Service
|
|||||||
{
|
{
|
||||||
$options = [
|
$options = [
|
||||||
'token' => sysconf('wechat.token'),
|
'token' => sysconf('wechat.token'),
|
||||||
'appid' => sysconf('wechat.appid'),
|
'appid' => $this->getAppid(),
|
||||||
'appsecret' => sysconf('wechat.appsecret'),
|
'appsecret' => sysconf('wechat.appsecret'),
|
||||||
'encodingaeskey' => sysconf('wechat.encodingaeskey'),
|
'encodingaeskey' => sysconf('wechat.encodingaeskey'),
|
||||||
'mch_id' => sysconf('wechat.mch_id'),
|
'mch_id' => sysconf('wechat.mch_id'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user