init commit

This commit is contained in:
2026-03-17 09:56:00 +08:00
commit e2c8ae752d
6827 changed files with 1211784 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<?php
return [
'autoload' => false,
'hooks' => [
'app_init' => [
'qrcode',
'wdsxh',
],
'config_init' => [
'summernote',
],
'upgrade' => [
'wdsxh',
],
],
'route' => [
'/qrcode$' => 'qrcode/index/index',
'/qrcode/build$' => 'qrcode/index/build',
'/$' => 'wdsxh/index/index',
'/about/$' => 'wdsxh/index/about',
'/contact/$' => 'wdsxh/index/contact',
'/membership/$' => 'wdsxh/index/membership',
'/news/$' => 'wdsxh/index/news',
'/news/news_detail/$' => 'wdsxh/index/news_detail',
'/header/$' => 'wdsxh/index/header',
'/footer/$' => 'wdsxh/index/footer',
],
'priority' => [],
'domain' => '',
];

View File

@@ -0,0 +1,12 @@
<?php
return [
'connector' => 'Redis', // Redis 驱动
'expire' => 0, // 任务的过期时间默认为60秒; 若要禁用,则设置为 null
'default' => 'default', // 默认的队列名称
'host' => '127.0.0.1', // redis 主机ip
'port' => 6379, // redis 端口
'password' => '', // redis 密码
'select' => 0, // 使用哪一个 db默认为 db0
'timeout' => 0, // redis连接的超时时间
'persistent' => false,
];

View File

@@ -0,0 +1,44 @@
<?php
return array (
'name' => '岳阳跨境电商协会',
'beian' => '湘ICP备2026001335号',
'cdnurl' => '',
'version' => '1.0.3',
'timezone' => 'Asia/Shanghai',
'forbiddenip' => '',
'languages' =>
array (
'backend' => 'zh-cn',
'frontend' => 'zh-cn',
),
'fixedpage' => 'dashboard',
'categorytype' =>
array (
'default' => 'Default',
'page' => 'Page',
'article' => 'Article',
'test' => 'Test',
),
'configgroup' =>
array (
'basic' => 'Basic',
'email' => 'Email',
'dictionary' => 'Dictionary',
'user' => 'User',
'example' => 'Example',
),
'mail_type' => '1',
'mail_smtp_host' => 'smtp.qq.com',
'mail_smtp_port' => '465',
'mail_smtp_user' => '',
'mail_smtp_pass' => '',
'mail_verify_type' => '2',
'mail_from' => '',
'attachmentcategory' =>
array (
'category1' => 'Category1',
'category2' => 'Category2',
'custom' => 'Custom',
),
);

View File

@@ -0,0 +1,45 @@
<?php
//上传配置
return [
/**
* 上传地址,默认是本地上传
*/
'uploadurl' => 'ajax/upload',
/**
* CDN地址
*/
'cdnurl' => '',
/**
* 文件保存格式
*/
'savekey' => '/uploads/{year}{mon}{day}/{filemd5}{.suffix}',
/**
* 最大可上传大小
*/
'maxsize' => '100mb',
/**
* 可上传的文件类型
*/
'mimetype' => 'jpg,png,bmp,jpeg,gif,webp,zip,rar,wav,mp4,mp3,webm,xlsx,pem,key',
/**
* 是否支持批量上传
*/
'multiple' => false,
/**
* 是否支持分片上传
*/
'chunking' => false,
/**
* 默认分片大小
*/
'chunksize' => 2097152,
/**
* 完整URL模式
*/
'fullmode' => false,
/**
* 缩略图样式
*/
'thumbstyle' => '',
];