From 6ccc87f2bfd7abc9bd639a8f1ffce33e6649c831 Mon Sep 17 00:00:00 2001 From: denghui <1016848185@qq.com> Date: Wed, 16 Jul 2025 15:30:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 +- manifest/config/config.yaml | 60 +++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 manifest/config/config.yaml diff --git a/.gitignore b/.gitignore index 18646b6..f2c11a4 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,4 @@ manifest/output/ temp/ temp.yaml bin -**/config/config.yaml \ No newline at end of file +noveltest \ No newline at end of file diff --git a/manifest/config/config.yaml b/manifest/config/config.yaml new file mode 100644 index 0000000..425e03b --- /dev/null +++ b/manifest/config/config.yaml @@ -0,0 +1,60 @@ +# Server configuration. +server: + address: ":9010" + openapiPath: "/api.json" + swaggerPath: "/swagger" + +# Logger configuration. +logger: + level : "all" + stdout: true + +# Database configuration. +database: + logger: + level: "all" + stdout: true + default: + link: "mysql:root:MSms0427@tcp(127.0.0.1:3306)/novel?loc=Local&charset=utf8mb4" + debug: true + +# Redis configuration. +redis: + default: + address: "127.0.0.1:6379" + +# Casbin model +casbin: + modelPath: "./manifest/config/rbac_model.conf" + +#OSS配置 +oss: + aliyun: + bucket: "arenaxx" + key: "LTAI4FhJV8uQvgSzviJ5tgcP" + secret: "Zc5E5CO4fqsXTIFsq4SHIaaXO4beJm" + endpoint: "oss-us-east-1.aliyuncs.com" + +# Email +email: + username: "1016848185@qq.com" + password: "zugifvgkwvmibehf" + host: "smtp.qq.com" + port: 465 + +saas: + link: "http://62.151.176.239:8002" + iosAppId: "26" + androidAppId: "27" + +# AWS +aws: + key: "AKIA2OAJT2TMKO6YTRA3" + secret: "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" + region: "us-east-1" + accountId: "717279712472" + + +#SQS +sqs: + ads: "test-ads" # 广告记录队列 \ No newline at end of file