diff --git a/README.md b/README.md index 461e6c4..c547e26 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,11 @@ 台网页版、桌面应用版、APP/轻应用版等。 #### 软件架构 - 开发及建议运行环境: ---PHP版本:7.x或8.0; ---数据库:mysql 5.6; +- PHP版本:7.x或8.0; +- 数据库:mysql 5.6; +开发工具: +- phpstorm #### 使用说明 diff --git a/addons-ctms/config/citys.php b/addons-ctms/config/citys.php index a1019da..18cb048 100755 --- a/addons-ctms/config/citys.php +++ b/addons-ctms/config/citys.php @@ -1,13 +1,14 @@ + * @Date: 2025-04-10 23:19:11 + * @FilePath: addons-ctms/config/citys.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. */ + $citys=[]; $i=0; diff --git a/addons-ctms/config/db-local.php b/addons-ctms/config/db-local.php index 9d80d96..c6525e6 100755 --- a/addons-ctms/config/db-local.php +++ b/addons-ctms/config/db-local.php @@ -1,11 +1,12 @@ -# @Date: 2022-05-15T21:33:17+08:00 -# @Email: fm453@lukegzs.com -# @Last modified by: fm453 -# @Last modified time: 2024-06-29T16:38:03+08:00 -# @Copyright: www.hiluker.cn +/** + * @Author: 嗨噜客(三亚) + * @Date: 2025-04-10 23:19:15 + * @FilePath: addons-ctms/config/db-local.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. + */ $config = [ 'components' => [ diff --git a/addons-ctms/config/db.php b/addons-ctms/config/db.php index 8c7dcd0..add30a8 100755 --- a/addons-ctms/config/db.php +++ b/addons-ctms/config/db.php @@ -1,11 +1,12 @@ -# @Date: 2022-05-16T20:41:55+08:00 -# @Email: fm453@lukegzs.com -# @Last modified by: fm453 -# @Last modified time: 2022-05-16T20:41:58+08:00 -# @Copyright: www.hiluker.cn +/** + * @Author: 嗨噜客(三亚) + * @Date: 2025-04-10 23:19:11 + * @FilePath: addons-ctms/config/db.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. + */ $config = [ 'components' => [ diff --git a/addons-ctms/config/params-area.php b/addons-ctms/config/params-area.php index b370746..447e08f 100755 --- a/addons-ctms/config/params-area.php +++ b/addons-ctms/config/params-area.php @@ -1,4 +1,12 @@ + * @Date: 2025-04-10 23:19:11 + * @FilePath: addons-ctms/config/params-area.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. + */ $areas=[]; $areas['110000'] = "北京"; diff --git a/addons-ctms/config/params-car.php b/addons-ctms/config/params-car.php index af522ce..6f9e71c 100755 --- a/addons-ctms/config/params-car.php +++ b/addons-ctms/config/params-car.php @@ -1,12 +1,13 @@ + * @Date: 2025-04-10 23:19:11 + * @FilePath: addons-ctms/config/params-car.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. */ + $areas=[]; $areas['110000'] = "京"; $areas['120000'] = "津"; diff --git a/addons-ctms/config/params-letter.php b/addons-ctms/config/params-letter.php index 3967f67..4a2a54f 100755 --- a/addons-ctms/config/params-letter.php +++ b/addons-ctms/config/params-letter.php @@ -1,10 +1,11 @@ + * @Date: 2025-04-10 23:19:11 + * @FilePath: addons-ctms/config/params-letter.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. */ + return ['letters'=>['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z']]; \ No newline at end of file diff --git a/addons-ctms/config/params-local.php b/addons-ctms/config/params-local.php index 01ebdb3..2cefe2f 100755 --- a/addons-ctms/config/params-local.php +++ b/addons-ctms/config/params-local.php @@ -1,10 +1,12 @@ -# @Date: 1970-01-01T08:00:00+08:00 -# @Email: fm453@hiluker.com -# @Last modified by: fm453 -# @Last modified time: 2024-07-09T17:20:38+08:00 +/** + * @Author: 嗨噜客(三亚) + * @Date: 2025-04-10 23:19:11 + * @FilePath: addons-ctms/config/params-local.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. + */ return [ 'adminEmail' => 'fm453@lukegzs.com', //管理员邮箱 diff --git a/addons-ctms/config/params.php b/addons-ctms/config/params.php index 95139da..8fe1871 100755 --- a/addons-ctms/config/params.php +++ b/addons-ctms/config/params.php @@ -1,10 +1,12 @@ -# @Date: 1970-01-01T08:00:00+08:00 -# @Email: fm453@hiluker.com -# @Last modified by: fm453 -# @Last modified time: 2024-07-09T16:46:20+08:00 +/** + * @Author: 嗨噜客(三亚) + * @Date: 2025-04-10 23:19:11 + * @FilePath: addons-ctms/config/params.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. + */ return [ 'adminEmail' => 'fm453@lukegzs.com', //管理员邮箱 diff --git a/addons-ctms/config/version.php b/addons-ctms/config/version.php deleted file mode 100755 index b67a6b1..0000000 --- a/addons-ctms/config/version.php +++ /dev/null @@ -1,12 +0,0 @@ - -# @Date: 2024-07-09T16:39:24+08:00 -# @Email: 393213759@qq.com -# @Last modified by: fm453 -# @Last modified time: 2024-07-09T17:21:18+08:00 -# @Copyright: www.hiluker.cn - -return [ - 'local_version' => '2.202407.001', //已弃用 -]; diff --git a/addons-ctms/index.php b/addons-ctms/index.php index ff01524..0d4cbea 100755 --- a/addons-ctms/index.php +++ b/addons-ctms/index.php @@ -1,10 +1,11 @@ -# @Date: 2022-05-15T22:35:59+08:00 -# @Email: fm453@lukegzs.com -# @Last modified by: fm453 -# @Last modified time: 2024-07-01T14:45:53+08:00 -# @Copyright: www.hiluker.cn +/** + * @Author: 嗨噜客(三亚) + * @Date: 2025-04-10 23:19:11 + * @FilePath: addons-ctms/index.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. + */ Yii::setAlias('@addons', __DIR__); diff --git a/addons-ctms/models/AcAlbumPics.php b/addons-ctms/models/AcAlbumPics.php index df75693..c927900 100755 --- a/addons-ctms/models/AcAlbumPics.php +++ b/addons-ctms/models/AcAlbumPics.php @@ -1,11 +1,12 @@ -# @Date: 2022-05-09T18:12:47+08:00 -# @Email: fm453@lukegzs.com -# @Last modified by: fm453 -# @Last modified time: 2022-05-09T18:13:08+08:00 -# @Copyright: www.hiluker.cn +/** + * @Author: 嗨噜客(三亚) + * @Date: 2025-04-10 23:19:11 + * @FilePath: addons-ctms/models/AcAlbumPics.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. + */ namespace addons\models; diff --git a/addons-ctms/models/AcAlbumVersion.php b/addons-ctms/models/AcAlbumVersion.php index 5248309..a284179 100755 --- a/addons-ctms/models/AcAlbumVersion.php +++ b/addons-ctms/models/AcAlbumVersion.php @@ -1,11 +1,12 @@ -# @Date: 2022-05-09T18:13:29+08:00 -# @Email: fm453@lukegzs.com -# @Last modified by: fm453 -# @Last modified time: 2022-05-09T18:13:29+08:00 -# @Copyright: www.hiluker.cn +/** + * @Author: 嗨噜客(三亚) + * @Date: 2025-04-10 23:19:11 + * @FilePath: addons-ctms/models/AcAlbumVersion.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. + */ namespace addons\models; diff --git a/addons-ctms/models/AcAlbums.php b/addons-ctms/models/AcAlbums.php index 03da256..0bd44d2 100755 --- a/addons-ctms/models/AcAlbums.php +++ b/addons-ctms/models/AcAlbums.php @@ -1,11 +1,12 @@ -# @Date: 2022-05-09T18:13:20+08:00 -# @Email: fm453@lukegzs.com -# @Last modified by: fm453 -# @Last modified time: 2022-05-09T18:13:20+08:00 -# @Copyright: www.hiluker.cn +/** + * @Author: 嗨噜客(三亚) + * @Date: 2025-04-10 23:19:11 + * @FilePath: addons-ctms/models/AcAlbums.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. + */ namespace addons\models; diff --git a/cors.php b/cors.php index 7994a80..8662c14 100644 --- a/cors.php +++ b/cors.php @@ -1,11 +1,12 @@ -# @Date: 2022-05-13T22:20:43+08:00 -# @Email: fm453@lukegzs.com -# @Last modified by: fm453 -# @Last modified time: 2024-07-01T14:41:31+08:00 -# @Copyright: www.hiluker.cn +/** + * @Author: 嗨噜客(三亚) + * @Date: 2025-04-10 23:19:12 + * @FilePath: cors.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. + */ //通用的header跨域配置函数,允许各应用事先自行编写更适合的方法 if (!function_exists('setheader')) { diff --git a/ctms-api.php b/ctms-api.php index 7fb1b7c..1a68fc9 100755 --- a/ctms-api.php +++ b/ctms-api.php @@ -1,11 +1,12 @@ -# @Date: 2022-05-13T22:15:56+08:00 -# @Email: fm453@lukegzs.com -# @Last modified by: fm453 -# @Last modified time: 2022-05-15T21:28:58+08:00 -# @Copyright: www.hiluker.cn +/** + * @Author: 嗨噜客(三亚) + * @Date: 2025-04-10 23:19:12 + * @FilePath: ctms-api.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. + */ defined('YII_DEBUG') or define('YII_DEBUG', false); defined('YII_ENV') or define('YII_ENV', 'prod'); diff --git a/ctms-api/config/main.php b/ctms-api/config/main.php index 7c74f13..b7a0365 100755 --- a/ctms-api/config/main.php +++ b/ctms-api/config/main.php @@ -1,10 +1,12 @@ + * @Date: 2025-04-10 23:19:13 + * @FilePath: ctms-api/config/main.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. + */ $params = array_merge( require(__DIR__ . '/../../common/config/params.php'), @@ -13,7 +15,6 @@ $params = array_merge( require(__DIR__ . '/../../addons-'.HI_APP.'/config/params-letter.php'), require(__DIR__ . '/../../addons-'.HI_APP.'/config/params-area.php'), require(__DIR__ . '/../../addons-'.HI_APP.'/config/params.php'), - // require(__DIR__ . '/../../addons-'.HI_APP.'/config/version.php'), require(__DIR__ . '/params.php') ); diff --git a/ctms-api_test.php b/ctms-api_test.php index 57aedbb..4a3707f 100755 --- a/ctms-api_test.php +++ b/ctms-api_test.php @@ -1,11 +1,12 @@ -# @Date: 2022-05-13T22:16:34+08:00 -# @Email: fm453@lukegzs.com -# @Last modified by: fm453 -# @Last modified time: 2022-05-15T22:13:37+08:00 -# @Copyright: www.hiluker.cn +/** + * @Author: 嗨噜客(三亚) + * @Date: 2025-04-10 23:19:12 + * @FilePath: ctms-api_test.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. + */ defined('YII_DEBUG') or define('YII_DEBUG', true); defined('YII_ENV') or define('YII_ENV', 'dev'); diff --git a/ctms-h5.php b/ctms-h5.php index d200ccc..92409e8 100755 --- a/ctms-h5.php +++ b/ctms-h5.php @@ -1,11 +1,12 @@ -# @Date: 2022-05-15T20:27:10+08:00 -# @Email: fm453@lukegzs.com -# @Last modified by: fm453 -# @Last modified time: 2022-05-16T20:55:43+08:00 -# @Copyright: www.hiluker.cn +/** + * @Author: 嗨噜客(三亚) + * @Date: 2025-04-10 23:19:12 + * @FilePath: ctms-h5.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. + */ define('HI_APP', 'ctms'); //给子项目设置的统一短标识 define('YII_APP', '/ctms-h5'); diff --git a/ctms-h5_test.php b/ctms-h5_test.php index db83aa4..24c3df4 100755 --- a/ctms-h5_test.php +++ b/ctms-h5_test.php @@ -1,11 +1,12 @@ -# @Date: 2022-05-15T20:27:02+08:00 -# @Email: fm453@lukegzs.com -# @Last modified by: fm453 -# @Last modified time: 2022-05-15T20:27:02+08:00 -# @Copyright: www.hiluker.cn +/** + * @Author: 嗨噜客(三亚) + * @Date: 2025-04-10 23:19:12 + * @FilePath: ctms-h5_test.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. + */ define('HI_APP', 'ctms'); //给子项目设置的统一短标识 define('YII_APP', '/ctms-h5'); diff --git a/ctms-home.php b/ctms-home.php index ce84bc2..bc1bc7b 100755 --- a/ctms-home.php +++ b/ctms-home.php @@ -1,11 +1,12 @@ -# @Date: 2022-05-15T20:27:39+08:00 -# @Email: fm453@lukegzs.com -# @Last modified by: fm453 -# @Last modified time: 2022-05-15T21:28:12+08:00 -# @Copyright: www.hiluker.cn +/** + * @Author: 嗨噜客(三亚) + * @Date: 2025-04-10 23:19:12 + * @FilePath: ctms-home.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. + */ defined('YII_DEBUG') or define('YII_DEBUG', false); defined('YII_ENV') or define('YII_ENV', 'prod'); diff --git a/ctms-home_test.php b/ctms-home_test.php index 91f54a0..8e2f417 100755 --- a/ctms-home_test.php +++ b/ctms-home_test.php @@ -1,11 +1,12 @@ -# @Date: 2022-05-15T20:27:21+08:00 -# @Email: fm453@lukegzs.com -# @Last modified by: fm453 -# @Last modified time: 2022-05-15T21:28:27+08:00 -# @Copyright: www.hiluker.cn +/** + * @Author: 嗨噜客(三亚) + * @Date: 2025-04-10 23:19:12 + * @FilePath: ctms-home_test.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. + */ defined('YII_DEBUG') or define('YII_DEBUG', true); defined('YII_ENV') or define('YII_ENV', 'dev'); diff --git a/ctms.php b/ctms.php index 95735bd..cb2961b 100755 --- a/ctms.php +++ b/ctms.php @@ -1,11 +1,12 @@ -# @Date: 2022-05-15T20:27:52+08:00 -# @Email: fm453@lukegzs.com -# @Last modified by: fm453 -# @Last modified time: 2022-05-15T21:28:02+08:00 -# @Copyright: www.hiluker.cn +/** + * @Author: 嗨噜客(三亚) + * @Date: 2025-04-10 23:19:12 + * @FilePath: ctms.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. + */ defined('YII_DEBUG') or define('YII_DEBUG', false); defined('YII_ENV') or define('YII_ENV', 'prod'); diff --git a/ctms_test.php b/ctms_test.php index fcb334d..0a398b1 100755 --- a/ctms_test.php +++ b/ctms_test.php @@ -1,11 +1,12 @@ -# @Date: 2022-05-14T11:36:04+08:00 -# @Email: fm453@lukegzs.com -# @Last modified by: fm453 -# @Last modified time: 2022-05-15T21:29:17+08:00 -# @Copyright: www.hiluker.cn +/** + * @Author: 嗨噜客(三亚) + * @Date: 2025-04-10 23:19:12 + * @FilePath: ctms_test.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. + */ defined('YII_DEBUG') or define('YII_DEBUG', true); defined('YII_ENV') or define('YII_ENV', 'dev'); diff --git a/domain.php b/domain.php index 2d525b9..2edfee7 100755 --- a/domain.php +++ b/domain.php @@ -1,16 +1,18 @@ -# @Date: 2022-05-13T22:20:43+08:00 -# @Email: fm453@lukegzs.com -# @Last modified by: fm453 -# @Last modified time: 2022-07-18T22:03:55+08:00 -# @Copyright: www.hiluker.cn +/** + * @Author: 嗨噜客(三亚) + * @Date: 2025-04-10 23:19:12 + * @FilePath: domain.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. + */ //域名与文件的对应 $_COM = 'hiluker.cn'; $_COM = 'localhost'; + $_DOMAINS = []; $_DOMAINS[$_COM] = 'hiluker'; $_DOMAINS['www.'.$_COM] = 'hiluker'; diff --git a/index.php b/index.php index bf00469..b0136d4 100755 --- a/index.php +++ b/index.php @@ -1,11 +1,12 @@ -# @Date: 2022-05-09T18:18:19+08:00 -# @Email: fm453@lukegzs.com -# @Last modified by: fm453 -# @Last modified time: 2022-07-18T22:02:44+08:00 -# @Copyright: www.hiluker.cn +/** + * @Author: 嗨噜客(三亚) + * @Date: 2025-04-10 23:19:12 + * @FilePath: index.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. + */ //逻辑:通过当前域名关联对应的入口文件。 //判断来路域名 diff --git a/version.php b/version.php index 46c5bf0..f00b4d7 100755 --- a/version.php +++ b/version.php @@ -1,8 +1,11 @@ + * @Date: 2025-04-10 23:19:13 + * @FilePath: version.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. + */ -# @Author: fm453 -# @Date: 2021-12-31T04:42:24+08:00 -# @Last modified by: fm453 -# @Last modified time: 2024-07-09T15:25:42+08:00 - -defined('HI_VERSION') or define('HI_VERSION', '20240708.001'); +defined('HI_VERSION') or define('HI_VERSION', '20250501.001'); diff --git a/禁止访问.php b/禁止访问.php index e1b8c29..7981afc 100755 --- a/禁止访问.php +++ b/禁止访问.php @@ -1,12 +1,13 @@ + * @Date: 2025-04-10 23:19:13 + * @FilePath: 禁止访问.php + * @Description: + * @Email: 393213759@qq.com + * Copyright (c) 2025 by www.hiluker.cn, All Rights Reserved. */ + ?>