代码拉取完成,页面将自动刷新
同步操作将从 test-instructor/yangfan 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# 自动生成代码的配置,只能在本地修改
autocode:
transfer-restart: true
root: C:\gva\taylor-test-platform-server\taylor-test-platform
server: /server
server-api: /api/v1/%s
server-plug: /plugin/%s
server-initialize: /initialize
server-model: /model/%s
server-request: /model/%s/request/
server-router: /router/%s
server-service: /service/%s
web: /web/src
web-api: /api
web-form: /view
web-table: /view
# 验证码配置
captcha:
key-long: 1
img-width: 240
img-height: 80
cors:
mode: whitelist
whitelist:
- allow-origin: example1.com
allow-methods: GET, POST
allow-headers: content-type
expose-headers: Content-Length, Access-Control-Allow-Origin, Access-Control-Allow-Headers,Content-Type
allow-credentials: true
- allow-origin: example2.com
allow-methods: GET, POST
allow-headers: content-type
expose-headers: Content-Length, Access-Control-Allow-Origin, Access-Control-Allow-Headers,Content-Type
allow-credentials: true
# 飞书登陆配置
fs:
appID: cli_a241057640bd900c
appSecret: UopjRmMwsOSSHtaYoHtv4mjaomwWlajn
redirectUri: http://127.0.0.1:8080/api/fsLogin/login
authorityID: 666
projectID: 1
# token配置
jwt:
signing-key: 6c8c168a-d00b-4929-a4cd-75ede0ad8cce
expires-time: 604800
buffer-time: 86400
issuer: qmPlus
# 本地上传文件配置
local:
path: uploads/file
store-path: uploads/file
# 数据看配置
mysql:
path: 127.0.0.1
port: "3306"
config: charset=utf8mb4&parseTime=True&loc=Local
db-name: yangfan
username: root
password: 123456
max-idle-conns: 10
max-open-conns: 100
log-mode: debug
log-zap: false
# redis 配置,如开启需要把 system.use-redis 设置为 true
redis:
db: 0
addr: 127.0.0.1:6378
password: "nYhjtZ2vri6KDl7Z"
system:
env: public
addr: 8888
db-type: mysql
oss-type: local
use-multipoint: false
use-redis: false
iplimit-count: 15000
iplimit-time: 3600
# 定时任务配置,删除操作记录和jwt清除
timer:
start: true
spec: '@daily'
with_seconds: false
detail:
- tableName: sys_operation_records
compareField: created_at
interval: 2160h
- tableName: jwt_blacklists
compareField: created_at
interval: 168h
# 日志记录,生产不建议用debug级别
zap:
level: debug
prefix: '[yangfan]'
format: console
director: log
encode-level: LowercaseColorLevelEncoder
stacktrace-key: stacktrace
max-age: 30
show-line: true
log-in-console: true
yang-fan:
front: "http://localhost:8080"
background: "127.0.0.1"
background-grpc-port: 7967
master: "127.0.0.1"
master-boomer-prot: 9093
master-server-prot: 7966
prometheus-pushgateway-url: http://localhost:9091/
grafana-host: http://localhost:3000/
grafana-dashboard: ERv3OaBPYe6A
grafana-dashboard-name: yangfan-for-distributed-load-testing
grafana-dashboard-stats: WLVhzvOg56Mg
grafana-dashboard-stats-name: yangfan-for-node-status
run-server: localhost
run-server-grpc-port: 7968
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。