|
@@ -0,0 +1,74 @@
|
|
|
+appname = ERP_storage
|
|
|
+HTTPPort = 6703
|
|
|
+runmode = dev
|
|
|
+Graceful = true
|
|
|
+EnableDocs = true
|
|
|
+copyrequestbody = true
|
|
|
+
|
|
|
+Sys_Name = "ERP_STORAGE"
|
|
|
+# Nats
|
|
|
+NatsServer_Url = "127.0.0.1:4223"
|
|
|
+NatsSubj_Prefix = ""
|
|
|
+
|
|
|
+# Mysql 线上
|
|
|
+MysqlServer_UrlPort = "127.0.0.1:3316"
|
|
|
+MysqlServer_Database = "erp_storage"
|
|
|
+MysqlServer_Username = "erp_storage"
|
|
|
+MysqlServer_Password = "cHFeFmxFhZJdijDn"
|
|
|
+MysqlServer_MaxIdleConnections = 100
|
|
|
+MysqlServer_MaxOpenConnections = 200
|
|
|
+
|
|
|
+# NatsSubj_Prefix = ""
|
|
|
+
|
|
|
+
|
|
|
+# Mysql 线上
|
|
|
+# MysqlServer_UrlPort = "127.0.0.1:3316"
|
|
|
+# MysqlServer_Database = "erp_storage"
|
|
|
+# MysqlServer_Username = "erp_storage"
|
|
|
+# MysqlServer_Password = "cHFeFmxFhZJdijDn"
|
|
|
+# MysqlServer_MaxIdleConnections = 100
|
|
|
+# MysqlServer_MaxOpenConnections = 200
|
|
|
+
|
|
|
+# Mysql Mqtt
|
|
|
+MysqlMqtt_UrlPort = "127.0.0.1:40306"
|
|
|
+MysqlMqtt_Database = "mqtt"
|
|
|
+MysqlMqtt_Username = "mqtt"
|
|
|
+MysqlMqtt_Password = "UQ7sPD8YZwCF2Zg!"
|
|
|
+MysqlMqtt_MaxIdleConnections = 100
|
|
|
+MysqlMqtt_MaxOpenConnections = 200
|
|
|
+
|
|
|
+# Redis
|
|
|
+Redis_address = "127.0.0.1:6378"
|
|
|
+Redis_password = ""
|
|
|
+Redis_dbNum = "2"
|
|
|
+
|
|
|
+FilterExcludeURL =
|
|
|
+FilterOnlyLoginCheckURL =
|
|
|
+
|
|
|
+# 消息通知前端页面跳转url
|
|
|
+ContractApprovalUrl = "/contract"
|
|
|
+VerifyContractUrl = "/contract"
|
|
|
+PercentageApprovalUrl = "/percentage"
|
|
|
+ContractReviewAuditUrl = "/contractReviewList"
|
|
|
+# 财务uuid
|
|
|
+FinanceUuid = "NeGSMvREXA8xDZWo6q1YjLHTm0dJg7zc"
|
|
|
+
|
|
|
+# 静态资源
|
|
|
+Qiniu_AccessKey = -8ezB_d-8-eUFTMvhOGbGzgeQRPeKQnaQ3DBcUxo
|
|
|
+Qiniu_SecretKey = KFhkYxTAJ2ZPN3ZS3euTsfWk8-C92rKgkhAMkDRN
|
|
|
+Qiniu_BUCKET = baozhida-erp
|
|
|
+Qiniu_Url = https://erposs.baozhida.cn/
|
|
|
+
|
|
|
+# 日志配置
|
|
|
+# 0-控制台输出 1-文件输出 2-文件和控制台输出
|
|
|
+adapter_type = 0
|
|
|
+# 文件最多保存多少天
|
|
|
+maxdays = 7
|
|
|
+# 日志级别 (0-紧急 1-报警 2-严重错误 3-错误 4-警告 5-注意 6-信息 7-调试)
|
|
|
+level = 7
|
|
|
+# SQL日志级别 (1-静音 2-错误 3-警告 4-信息). 注意: sql日志只在level大于等于5级别才会输出。
|
|
|
+sqlloglevel = 4
|
|
|
+# 慢SQL阈值(毫秒)。慢SQL会在sqlloglevel大于等于3时输出。
|
|
|
+slow_threshold = 200
|
|
|
+# 每个文件保存的最大行数
|
|
|
+maxlines = 10000
|