[serve] jyhref = "https://www.jianyu360.cn/article/content/%s.html" [db] [db.mongo] addr = "127.0.0.1:27092" dbname = "qfw_data" size = 5 user = "root" password = "root" [db.mongo1] addr = "127.0.0.1:27092" dbname = "wjh" size = 5 user = "" password = "" [db.mongo2] addr = "127.0.0.1:27092" dbname = "zhengkun" size = 5 user = "" password = "" [db.mysql] # mysql: [username[:password]@][protocol[(address)]]/dbname[?param1=value1&...¶mN=valueN] # root:123456@tcp(localhost:3306)/crocodile?charset=utf8mb4&parseTime=True&loc=Local #drivename = "mysql" #dsn = "root:=PDT49#80Z!RVv52_z@tcp(192.168.3.217:4000)/medical_fileld_data?charset=utf8mb4&parseTime=True&loc=Local" addr = "127.0.0.1:4001" dbnameBasic = "global_common_data" dbnameMedical = "medical_field_data_dev" size = 5 user = "root" password = "Tibi#20211222" maxidle = 10 maxconn = 20 maxquerytime = "10s" [db.es] addr = "http://127.0.0.1:9800" size = 5 indexm = "medical_institution_v1" typem = "medical_institution" indexs = "supplier_product_v1" types = "supplier_product" [db.es.fieldm] id = "int" company_id = "string" mi_name = "string" alias = "string" area_code = "string" level_code = "string" mi_type_code = "string" business_type = "int" sdequipment = "string" #fieldarrs = ["id", "company_id", "supplier", "productlist", "business_model", "area_code"] [db.es.fields] id = "int" company_id = "string" supplier = "string" productlist = "" business_model = "string" area_code = "string" # 日志 [log] # 日志路径,为空将输出控制台 logpath = "" # log size (M) maxsize = 10 # compress log compress = true # log save time (day) maxage = 7 # save total log file total maxbackups = 10 # log level loglevel = "debug" # text or json output format = "text"