优化ctms-api语法、修复已知BUG;
主要修复ctms-api、dacms对PHP新版本的支持问题
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
# @Date: 1970-01-01T08:00:00+08:00
|
||||
# @Email: fm43@hiluker.com
|
||||
# @Last modified by: fm453
|
||||
# @Last modified time: 2024-07-09T17:19:59+08:00
|
||||
# @Last modified time: 2024-08-09T08:21:21+08:00
|
||||
|
||||
$params = array_merge(
|
||||
require(__DIR__ . '/../../common/config/params.php'),
|
||||
@@ -20,7 +20,7 @@ $params = array_merge(
|
||||
$config = [
|
||||
'id' => 'api-ctms-backend',
|
||||
'basePath' => dirname(__DIR__),
|
||||
'controllerNamespace' => 'backend\controllers',
|
||||
'controllerNamespace' => 'api\controllers',
|
||||
'defaultRoute' => 'index', //默认路由
|
||||
'bootstrap' => ['log'],
|
||||
'modules' => [
|
||||
|
||||
Reference in New Issue
Block a user