We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 803f815 commit e139335Copy full SHA for e139335
config/modules.php
@@ -0,0 +1,10 @@
1
+<?php
2
+return [
3
+ // 微信模块
4
+ 'wechat' => [
5
+ 'class' => 'callmez\wechat\Module',
6
+ 'modules' => [
7
+ 'admin' => 'callmez\wechat\modules\admin\Module' // 微信后台管理模块
8
+ ]
9
+ ],
10
+];
config/web.php
@@ -6,10 +6,11 @@
'id' => 'basic',
'basePath' => dirname(__DIR__),
'bootstrap' => ['log'],
+ 'modules' => require(__DIR__ . '/modules.php'),
'components' => [
11
'request' => [
12
// !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
- 'cookieValidationKey' => '',
13
+ 'cookieValidationKey' => 'oxTxC600X5DGRubG2mYdBMmC4MM0C-ZB',
14
],
15
'cache' => [
16
'class' => 'yii\caching\FileCache',
0 commit comments