app_prod.conf 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. appname = ERP_storage
  2. HTTPPort = 6703
  3. runmode = dev
  4. Graceful = true
  5. EnableDocs = true
  6. copyrequestbody = true
  7. Sys_Name = "ERP_STORAGE"
  8. # Nats
  9. NatsServer_Url = "127.0.0.1:4223"
  10. NatsSubj_Prefix = ""
  11. # Mysql 线上
  12. MysqlServer_UrlPort = "127.0.0.1:3316"
  13. MysqlServer_Database = "erp_storage"
  14. MysqlServer_Username = "erp_storage"
  15. MysqlServer_Password = "cHFeFmxFhZJdijDn"
  16. MysqlServer_MaxIdleConnections = 100
  17. MysqlServer_MaxOpenConnections = 200
  18. # NatsSubj_Prefix = ""
  19. # Mysql 线上
  20. # MysqlServer_UrlPort = "127.0.0.1:3316"
  21. # MysqlServer_Database = "erp_storage"
  22. # MysqlServer_Username = "erp_storage"
  23. # MysqlServer_Password = "cHFeFmxFhZJdijDn"
  24. # MysqlServer_MaxIdleConnections = 100
  25. # MysqlServer_MaxOpenConnections = 200
  26. # Mysql Mqtt
  27. MysqlMqtt_UrlPort = "127.0.0.1:40306"
  28. MysqlMqtt_Database = "mqtt"
  29. MysqlMqtt_Username = "mqtt"
  30. MysqlMqtt_Password = "UQ7sPD8YZwCF2Zg!"
  31. MysqlMqtt_MaxIdleConnections = 100
  32. MysqlMqtt_MaxOpenConnections = 200
  33. # Redis
  34. Redis_address = "127.0.0.1:6378"
  35. Redis_password = ""
  36. Redis_dbNum = "2"
  37. FilterExcludeURL =
  38. FilterOnlyLoginCheckURL =
  39. # 消息通知前端页面跳转url
  40. ContractApprovalUrl = "/contract"
  41. VerifyContractUrl = "/contract"
  42. PercentageApprovalUrl = "/percentage"
  43. ContractReviewAuditUrl = "/contractReviewList"
  44. # 财务uuid
  45. FinanceUuid = "NeGSMvREXA8xDZWo6q1YjLHTm0dJg7zc"
  46. # 静态资源
  47. Qiniu_AccessKey = -8ezB_d-8-eUFTMvhOGbGzgeQRPeKQnaQ3DBcUxo
  48. Qiniu_SecretKey = KFhkYxTAJ2ZPN3ZS3euTsfWk8-C92rKgkhAMkDRN
  49. Qiniu_BUCKET = baozhida-erp
  50. Qiniu_Url = https://erposs.baozhida.cn/
  51. # 日志配置
  52. # 0-控制台输出 1-文件输出 2-文件和控制台输出
  53. adapter_type = 0
  54. # 文件最多保存多少天
  55. maxdays = 7
  56. # 日志级别 (0-紧急 1-报警 2-严重错误 3-错误 4-警告 5-注意 6-信息 7-调试)
  57. level = 7
  58. # SQL日志级别 (1-静音 2-错误 3-警告 4-信息). 注意: sql日志只在level大于等于5级别才会输出。
  59. sqlloglevel = 4
  60. # 慢SQL阈值(毫秒)。慢SQL会在sqlloglevel大于等于3时输出。
  61. slow_threshold = 200
  62. # 每个文件保存的最大行数
  63. maxlines = 10000