初始化本地仓库
This commit is contained in:
@@ -0,0 +1,321 @@
|
||||
<?php
|
||||
/**
|
||||
*+------------------
|
||||
* madong
|
||||
*+------------------
|
||||
* Copyright (c) https://gitee.com/motion-code All rights reserved.
|
||||
*+------------------
|
||||
* Author: Mr. April (405784684@qq.com)
|
||||
*+------------------
|
||||
* Official Website: http://www.madong.tech
|
||||
*/
|
||||
|
||||
return [
|
||||
[
|
||||
'group_code' => 'upload',
|
||||
'code' => 'local',
|
||||
'name' => '本地存储配置',
|
||||
'content' => [
|
||||
'root' => 'public',
|
||||
'dirname' => 'upload',
|
||||
'domain' => 'http://127.0.0.1:8001',
|
||||
],
|
||||
'is_sys' => 1,
|
||||
'enabled' => 1,
|
||||
'created_at' => time(),
|
||||
'created_by' => 1,
|
||||
'updated_at' => time(),
|
||||
'updated_by' => 1,
|
||||
'deleted_at' => null,
|
||||
'remark' => null,
|
||||
],
|
||||
[
|
||||
'group_code' => 'upload',
|
||||
'code' => 'oss',
|
||||
'name' => 'OSS存储配置',
|
||||
'content' => [
|
||||
'accessKeyId' => '',
|
||||
'accessKeySecret' => '',
|
||||
'bucket' => '',
|
||||
'dirname' => '',
|
||||
'domain' => '',
|
||||
'endpoint' => '',
|
||||
],
|
||||
'is_sys' => 1,
|
||||
'enabled' => 1,
|
||||
'created_at' => time(),
|
||||
'created_by' => 1,
|
||||
'updated_at' => time(),
|
||||
'updated_by' => 1,
|
||||
'deleted_at' => null,
|
||||
'remark' => null,
|
||||
],
|
||||
[
|
||||
'group_code' => 'upload',
|
||||
'code' => 'cos',
|
||||
'name' => 'COS存储配置',
|
||||
'content' => [
|
||||
'secretId' => '',
|
||||
'secretKey' => '',
|
||||
'bucket' => '',
|
||||
'domain' => '',
|
||||
'region' => '',
|
||||
'dirname' => '',
|
||||
],
|
||||
'is_sys' => 1,
|
||||
'enabled' => 1,
|
||||
'created_at' => time(),
|
||||
'created_by' => 1,
|
||||
'updated_at' => time(),
|
||||
'updated_by' => 1,
|
||||
'deleted_at' => null,
|
||||
'remark' => null,
|
||||
],
|
||||
[
|
||||
'group_code' => 'upload',
|
||||
'code' => 'qiniu',
|
||||
'name' => '七牛云存储配置',
|
||||
'content' => [
|
||||
'accessKey' => '',
|
||||
'secretKey' => '',
|
||||
'bucket' => '',
|
||||
'domain' => '',
|
||||
'region' => '',
|
||||
'dirname' => '',
|
||||
],
|
||||
'is_sys' => 1,
|
||||
'enabled' => 1,
|
||||
'created_at' => time(),
|
||||
'created_by' => 1,
|
||||
'updated_at' => time(),
|
||||
'updated_by' => 1,
|
||||
'deleted_at' => null,
|
||||
'remark' => null,
|
||||
],
|
||||
[
|
||||
'group_code' => 'upload',
|
||||
'code' => 's3',
|
||||
'name' => 'S3存储配置',
|
||||
'content' => [
|
||||
'key' => '',
|
||||
'secret' => '',
|
||||
'bucket' => '',
|
||||
'dirname' => '',
|
||||
'domain' => '',
|
||||
'region' => '',
|
||||
'version' => '',
|
||||
'endpoint' => '',
|
||||
'acl' => '',
|
||||
],
|
||||
'is_sys' => 1,
|
||||
'enabled' => 1,
|
||||
'created_at' => time(),
|
||||
'created_by' => 1,
|
||||
'updated_at' => time(),
|
||||
'updated_by' => 1,
|
||||
'deleted_at' => null,
|
||||
'remark' => null,
|
||||
],
|
||||
[
|
||||
'group_code' => 'setting',
|
||||
'code' => 'email',
|
||||
'name' => '邮箱设置',
|
||||
'content' => [
|
||||
'Host' => 'smtp.qq.com',
|
||||
'Port' => '465',
|
||||
'Username' => '',
|
||||
'Password' => '',
|
||||
'SMTPSecure' => 'ssl',
|
||||
'From' => '',
|
||||
'FromName' => '',
|
||||
],
|
||||
'is_sys' => 1,
|
||||
'enabled' => 1,
|
||||
'created_at' => time(),
|
||||
'created_by' => 1,
|
||||
'updated_at' => time(),
|
||||
'updated_by' => 1,
|
||||
'deleted_at' => null,
|
||||
'remark' => '',
|
||||
],
|
||||
[
|
||||
'group_code' => 'setting',
|
||||
'code' => 'upload',
|
||||
'name' => '上传设置',
|
||||
'content' => [
|
||||
'mode' => 'local',
|
||||
'single_limit' => '1024',
|
||||
'total_limit' => '1024',
|
||||
'nums' => '100',
|
||||
'exclude' => 'php,ext,exe',
|
||||
],
|
||||
'is_sys' => 1,
|
||||
'enabled' => 1,
|
||||
'created_at' => time(),
|
||||
'created_by' => 1,
|
||||
'updated_at' => time(),
|
||||
'updated_by' => 1,
|
||||
'deleted_at' => null,
|
||||
'remark' => '',
|
||||
],
|
||||
[
|
||||
'group_code' => 'system',
|
||||
'code' => 'site_setting',
|
||||
'name' => '站点设置',
|
||||
'content' => [
|
||||
'site_open' => 1,
|
||||
'site_url' => 'http://127.0.0.1:8001',
|
||||
'site_name' => 'MD-Admin',
|
||||
'site_logo' => '/upload/logo.png',
|
||||
'site_network_security' => '',
|
||||
'site_record_no' => '',
|
||||
'site_icp_url' => 'https://beian.miit.gov.cn/',
|
||||
'site_network_security_url' => '',
|
||||
'site_description' => '极速开发框架',
|
||||
],
|
||||
'is_sys' => 1,
|
||||
'enabled' => 1,
|
||||
'created_at' => time(),
|
||||
'created_by' => 1,
|
||||
'updated_at' => time(),
|
||||
'updated_by' => 1,
|
||||
'deleted_at' => null,
|
||||
'remark' => '',
|
||||
],
|
||||
[
|
||||
'group_code' => 'setting',
|
||||
'code' => 'sms',
|
||||
'name' => '短信设置',
|
||||
'content' => [
|
||||
'access_key_id' => '',
|
||||
'access_key_secret' => '',
|
||||
'enable' => 1,
|
||||
'sign_name' => '【码动开源】,你的验证码是{code},有效期5分钟。',
|
||||
],
|
||||
'is_sys' => 1,
|
||||
'enabled' => 1,
|
||||
'created_at' => time(),
|
||||
'created_by' => 1,
|
||||
'updated_at' => time(),
|
||||
'updated_by' => 1,
|
||||
'deleted_at' => null,
|
||||
'remark' => '',
|
||||
],
|
||||
[
|
||||
'group_code' => 'default',
|
||||
'code' => 'web_login_config',
|
||||
'name' => '站点登录配置',
|
||||
'content' => [
|
||||
'is_username' => 1,
|
||||
'is_mobile' => 0,
|
||||
'is_auth_register' => 1,
|
||||
'is_bind_mobile' => 0,
|
||||
'is_wechat_scan' => 0,
|
||||
'agreement_show' => 0,
|
||||
],
|
||||
'is_sys' => 1,
|
||||
'enabled' => 1,
|
||||
'created_at' => time(),
|
||||
'created_by' => 1,
|
||||
'updated_at' => time(),
|
||||
'updated_by' => 1,
|
||||
'deleted_at' => null,
|
||||
'remark' => '',
|
||||
],
|
||||
[
|
||||
'group_code' => 'web',
|
||||
'code' => 'web_site_setting',
|
||||
'name' => '前台站点设置',
|
||||
'content' => [
|
||||
"site_name" => "",
|
||||
"site_url" => "",
|
||||
"seo_title" => "",
|
||||
"seo_keywords" => "",
|
||||
"seo_description" => "",
|
||||
"copyright" => "",
|
||||
"icp" => "",
|
||||
"icp_url" => "https:\/\/beian.miit.gov.cn",
|
||||
"network_security" => "",
|
||||
"network_security_url" => "",
|
||||
],
|
||||
'is_sys' => 1,
|
||||
'enabled' => 1,
|
||||
'created_at' => time(),
|
||||
'created_by' => 1,
|
||||
'updated_at' => time(),
|
||||
'updated_by' => 1,
|
||||
'deleted_at' => null,
|
||||
'remark' => '前台站点版权和友情链接配置',
|
||||
],
|
||||
[
|
||||
'group_code' => 'web',
|
||||
'code' => 'web_search_config',
|
||||
'name' => '前台搜索配置',
|
||||
'content' => [
|
||||
'keyword' => '',
|
||||
'keyword_enabled' => 0,
|
||||
],
|
||||
'is_sys' => 1,
|
||||
'enabled' => 1,
|
||||
'created_at' => time(),
|
||||
'created_by' => 1,
|
||||
'updated_at' => time(),
|
||||
'updated_by' => 1,
|
||||
'deleted_at' => null,
|
||||
'remark' => '前台站点搜索引擎关键字配置',
|
||||
],
|
||||
[
|
||||
'group_code' => 'web',
|
||||
'code' => 'web_analytics_config',
|
||||
'name' => '前台统计分析配置',
|
||||
'content' => [
|
||||
'baidu_tongji_code' => '',
|
||||
'baidu_tongji_enabled' => 0,
|
||||
],
|
||||
'is_sys' => 1,
|
||||
'enabled' => 1,
|
||||
'created_at' => time(),
|
||||
'created_by' => 1,
|
||||
'updated_at' => time(),
|
||||
'updated_by' => 1,
|
||||
'deleted_at' => null,
|
||||
'remark' => '前台站点统计分析配置(百度统计等)',
|
||||
],
|
||||
[
|
||||
'group_code' => 'system',
|
||||
'code' => 'app_about_setting',
|
||||
'name' => '关于我们设置',
|
||||
'content' => [
|
||||
'user_service_agreement' => '',
|
||||
'privacy_policy' => '',
|
||||
'icp_number' => '',
|
||||
'report_email' => '',
|
||||
'business_contact' => '',
|
||||
],
|
||||
'is_sys' => 1,
|
||||
'enabled' => 1,
|
||||
'created_at' => time(),
|
||||
'created_by' => 1,
|
||||
'updated_at' => time(),
|
||||
'updated_by' => 1,
|
||||
'deleted_at' => null,
|
||||
'remark' => '移动端关于我们页面配置',
|
||||
],
|
||||
[
|
||||
'group_code' => 'web',
|
||||
'code' => 'web_payment_config',
|
||||
'name' => '前台支付配置',
|
||||
'content' => [
|
||||
'is_wechat_enabled' => 0,
|
||||
'is_alipay_enabled' => 0,
|
||||
],
|
||||
'is_sys' => 1,
|
||||
'enabled' => 1,
|
||||
'created_at' => time(),
|
||||
'created_by' => 1,
|
||||
'updated_at' => time(),
|
||||
'updated_by' => 1,
|
||||
'deleted_at' => null,
|
||||
'remark' => '前台站点支付开关配置(微信、支付宝)',
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user