app.conf 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. appname = Medical_ERP
  2. httpport = 8083
  3. runmode = dev
  4. autorender = false
  5. copyrequestbody = true
  6. EnableDocs = true
  7. # 数据库配置(Mysql)
  8. mysqlUrlPort = "192.168.11.77:3306"
  9. mysqlDB = "medical_erp"
  10. mysqlUser = "medical_erp"
  11. mysqlPass= "XMzTDthD4By3ArjG"
  12. mysqlMaxConns = 100
  13. MysqlMaxOpen = 200
  14. # 数据库配置(Mysql)
  15. # mysqlUrlPort = "127.0.0.1:40306"
  16. # mysqlDB = "godown"
  17. # mysqlUser = "godown"
  18. # mysqlPass= "wCHDXHL35kZGSD8r"
  19. # mysqlMaxConns = 100
  20. # MysqlMaxOpen = 200
  21. # 日志配置
  22. # 0-控制台输出 1-文件输出 2-文件和控制台输出
  23. adapter_type = 2
  24. # 文件最多保存多少天
  25. maxdays = 7
  26. # 日志级别 (0-紧急 1-报警 2-严重错误 3-错误 4-警告 5-注意 6-信息 7-调试)
  27. level = 7
  28. # SQL日志级别 (1-静音 2-错误 3-警告 4-信息). 注意: sql日志只在level大于等于5级别才会输出。
  29. sqlloglevel = 4
  30. # 慢SQL阈值(毫秒)。慢SQL会在sqlloglevel大于等于3时输出。
  31. slow_threshold = 200
  32. # 每个文件保存的最大行数
  33. maxlines = 10000
  34. #redis
  35. Redis_address = "192.168.11.77:6379"
  36. # Redis_address = "127.0.0.1:43379"
  37. Redis_password = ""
  38. Redis_dbNum = "3"
  39. #不验证登录URL
  40. FilterExcludeURL = ""
  41. #只验证登录URL
  42. FilterOnlyLoginCheckURL = "/api/role-api"
  43. # 不进入公司的url
  44. FilterNotEnterDeptURL = "/api/medicine-template/init"
  45. # 统一身份认证
  46. OAuth_baseUrl = "http://192.168.11.77:8100"
  47. # OAuth_baseUrl = "http://127.0.0.1:6400"
  48. # 服务发现服务信息
  49. Service_number = "q9YeglML"
  50. Service_authCode = "3EDJRaagFTVVo2Ilo80nHJfLVN1O1234"
  51. Service_name = "医药进销存综合管理系统"
  52. Service_Host = "http://127.0.0.1:8110"
  53. Service_RoleApiUrl = "/api/role-api"
  54. # 码上放心
  55. MSFX_baseUrl = "https://public.coldbaozhida.com/Ali_msfx/codedetail"
  56. # 七牛云静态资源
  57. Qiniu_AccessKey = "-8ezB_d-8-eUFTMvhOGbGzgeQRPeKQnaQ3DBcUxo"
  58. Qiniu_SecretKey = "KFhkYxTAJ2ZPN3ZS3euTsfWk8-C92rKgkhAMkDRN"
  59. # Qiniu_BUCKET = "godownoss"
  60. Qiniu_BUCKET = "bzdcdn"
  61. Qiniu_Url = "https://bzdcdn.coldbaozhida.com/"
  62. BZD_pcodeUrl = "https://pcode.baozhida.cn/api/"