mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修改公众号授权配置保存机制
This commit is contained in:
parent
daa06a8e3c
commit
80d4b20384
@ -55,6 +55,7 @@ class Config extends BasicAdmin
|
|||||||
if ($this->request->get('appid', false)) {
|
if ($this->request->get('appid', false)) {
|
||||||
sysconf('wechat_thr_appid', $data['appid']);
|
sysconf('wechat_thr_appid', $data['appid']);
|
||||||
sysconf('wechat_thr_appkey', $data['appkey']);
|
sysconf('wechat_thr_appkey', $data['appkey']);
|
||||||
|
sysconf('wechat_type', 'thr');
|
||||||
WechatService::config()->setApiNotifyUri($thrNotifyUrl);
|
WechatService::config()->setApiNotifyUri($thrNotifyUrl);
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user