mirror of
https://github.com/201206030/novel-plus.git
synced 2025-07-14 21:26:41 +00:00
65 lines
1.3 KiB
Java
65 lines
1.3 KiB
Java
server:
|
||
port: 8083
|
||
|
||
spring:
|
||
profiles:
|
||
active: dev
|
||
include: website,alipay,oss
|
||
|
||
jwt:
|
||
secret: novel!#20191230
|
||
expiration: 604800
|
||
|
||
#缓存管理密码
|
||
cache:
|
||
manager:
|
||
password: novel@2020117
|
||
|
||
|
||
# 防止XSS攻击
|
||
xss:
|
||
# 过滤开关
|
||
enabled: true
|
||
# 排除链接(多个用逗号分隔)
|
||
excludes: /system/notice/*
|
||
# 匹配链接 (多个用逗号分隔)
|
||
urlPatterns: /book/addCommentReply,/book/addBookComment,/user/addFeedBack,/author/addBook,/author/addBookContent,/author/updateBookContent,/author/register.html
|
||
|
||
|
||
author:
|
||
income:
|
||
#税率(扣税后所得比率)
|
||
tax-rate: 0.9
|
||
#分佣比例
|
||
share-proportion: 0.7
|
||
#兑换比率(人民币)
|
||
exchange-proportion: 0.01
|
||
|
||
#小说章节定价规则
|
||
book:
|
||
price:
|
||
#字数
|
||
word-count: 1000
|
||
#价值(屋币)
|
||
value: 5
|
||
|
||
|
||
--- #--------------------- Spring AI 配置----------------------
|
||
spring:
|
||
ai:
|
||
openai:
|
||
image:
|
||
enabled: true
|
||
base-url: https://api.siliconflow.cn
|
||
api-key: sk-jjtixmivxaccndqgkqfkbgkzvmbctdxogcrfbjzfttbouitt
|
||
options:
|
||
model: Kwai-Kolors/Kolors
|
||
response_format: URL
|
||
api-key: sk-jjtixmivxaccndqgkqfkbgkzvmbctdxogcrfbjzfttbouitt
|
||
base-url: https://api.siliconflow.cn
|
||
chat:
|
||
options:
|
||
model: deepseek-ai/DeepSeek-R1-Distill-Llama-8B
|
||
|
||
|