| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- server:
- port: 9082
- tomcat:
- headers:
- X-Content-Type-Options: nosniff
- X-Frame-Options: DENY
- X-XSS-Protection: 1; mode=block
- Strict-Transport-Security: max-age=31536000; includeSubDomains
- spring:
- application:
- name: cfc-backend
- datasource:
- driver-class-name: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://192.168.16.251:3306/zxyj?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true&createDatabaseIfNotExist=true
- username: zxyj
- password: zxyj@123
- hikari:
- jdbc-url: jdbc:mysql://192.168.16.251:3306/zxyj?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true&createDatabaseIfNotExist=true
- username: zxyj
- password: zxyj@123
- driver-class-name: com.mysql.cj.jdbc.Driver
- sfms:
- datasource:
- driver-class-name: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://bianwoyou.mysql.rds.aliyuncs.com:3305/sfms?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true
- username: sfms
- password: sfms@123
- mybatis-plus:
- mapper-locations: classpath*:/mapper/**/*.xml
- type-aliases-package: com.etotem.cfc.entity
- configuration:
- map-underscore-to-camel-case: true
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
- global-config:
- db-config:
- id-type: auto
- logic-delete-field: deleted
- logic-delete-value: 1
- logic-not-delete-value: 0
- jwt:
- secret: cfc-secret-key-2026-spring-boot-jwt-token
- expiration: 86400000
- zkxz:
- enabled: false
- sync-api-url: https://api.zkxz.org.cn/api/
- login-url: member/login
- sync-client-url: user/create
- list-client-url: user/list
- sync-teacher-url: teacher/create
- user-report: user/report
- report-info: report/info
- zx-user: ""
- zx-pass: ""
- wechat:
- appid: wx5ba8038ef16fb245
- secret: YOUR_APP_SECRET_HERE
- mch-id: YOUR_MCH_ID
- mch-key: YOUR_MCH_KEY
- notify-url: http://your-domain.com/api/payment/notify
- danshop-notify-url: http://localhost:9082/api/internal/payment/wechat-notify
- login-url: https://api.weixin.qq.com/sns/jscode2session
- phone-url: https://api.weixin.qq.com/wxa/business/getuserphonenumber
- test-mode: true # 测试模式:跳过微信API调用,使用模拟数据
- test-phone: "13800138000" # 测试模式使用的手机号
- dify:
- base-url: http://dify.bianwoyou.cn/v1
- api-key: app-rtNSAHG2NFzRsXCGkeZlVNR9
- logging:
- level:
- com.etotem.cfc: debug
- # Danshop 商城系统配置
- danshop:
- base-url: http://localhost:8888
- api-url: http://localhost:8888/api/internal
|