mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-03 08:20:36 +00:00
fix: 修改小程序配置(打开日志)
This commit is contained in:
parent
8937cabfaf
commit
730073048a
@ -101,6 +101,16 @@ class MiniProgramService
|
||||
$appId = isset($wechat['routine_appId']) ? trim($wechat['routine_appId']) : '';
|
||||
$appsecret = isset($wechat['routine_appsecret']) ? trim($wechat['routine_appsecret']) : '';
|
||||
}
|
||||
$config = [
|
||||
'token' => isset($wechat['wechat_token']) ? trim($wechat['wechat_token']) : '',
|
||||
'aes_key' => isset($wechat['wechat_encodingaeskey']) ? trim($wechat['wechat_encodingaeskey']) : '',
|
||||
'debug' => true,
|
||||
'log' => [
|
||||
'level' => 'debug',
|
||||
'permission' => 0777,
|
||||
'file' => '/www/wwwroot/bz.wuht.net/crmeb/crmeb/runtime/log',
|
||||
],
|
||||
];
|
||||
$config['mini_program'] = [
|
||||
'app_id' => $appId,
|
||||
'secret' => $appsecret,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user