config.yaml 779 B

12345678910111213141516171819202122232425262728293031
  1. # https://goframe.org/docs/web/server-config-file-template
  2. server:
  3. address: ":8000"
  4. openapiPath: "/api.json"
  5. swaggerPath: "/swagger"
  6. # https://goframe.org/docs/core/glog-config
  7. logger:
  8. level: "all"
  9. stdout: true
  10. # https://goframe.org/docs/core/gdb-config-file
  11. database:
  12. logger:
  13. - path: "./log/sql"
  14. level: "all"
  15. stdout: true
  16. default:
  17. link: "mysql:jianyu:Topnet123@tcp(172.20.45.129:4000)/jyactivities"
  18. dryRun: false
  19. debug: true
  20. cadmin:
  21. link: "mysql:jianyu:Topnet123@tcp(172.20.45.129:4000)/cadmin"
  22. debug: true
  23. jy_prize:
  24. 14: "3-7#1#0" #超级订阅周卡
  25. 15: "2-1#1#3800" #超级订阅月卡
  26. 16: "4-1#1#9900" #超级订阅季卡
  27. # 17: "" #超级订阅年卡
  28. 18: "120" #剑鱼币
  29. #剑鱼奖品对应配置