|
|
@@ -0,0 +1,40 @@
|
|
|
+#这个是调度中心的配置文件,“#"用来注释当前行
|
|
|
+
|
|
|
+#模式,debug或者release
|
|
|
+mode = release
|
|
|
+
|
|
|
+#release环境路径规划服务器参数
|
|
|
+release_pathplanning_host = 172.16.1.71:50051
|
|
|
+
|
|
|
+#debug环境路径规划服务器参数
|
|
|
+debug_pathplanning_host = 172.16.1.71:50051
|
|
|
+
|
|
|
+#release环境的数据库参数
|
|
|
+release_host = rdsqnuyurqnuyur505.mysql.rds.aliyuncs.com
|
|
|
+release_port = 3306
|
|
|
+release_username = liantongxue
|
|
|
+release_password = LewaimaiLongtailiDB200
|
|
|
+release_dbname = dispatch
|
|
|
+
|
|
|
+#release环境的队列参数
|
|
|
+release_dispatch_task_queue = prod-dispather-task
|
|
|
+release_dispatch_result_queue = prod-lwmWorker-dispatchResult
|
|
|
+
|
|
|
+#debug环境的数据库参数
|
|
|
+debug_host = rm-bp113vj32hrp7wpws.mysql.rds.aliyuncs.com
|
|
|
+debug_port = 3306
|
|
|
+debug_username = weixin
|
|
|
+debug_password = hhyz122131
|
|
|
+debug_dbname = dispatch
|
|
|
+
|
|
|
+#debug环境的队列参数
|
|
|
+debug_dispatch_task_queue = dev-dispather-task
|
|
|
+debug_dispatch_result_queue = dev-lwmWorker-dispatchResult
|
|
|
+
|
|
|
+#连接阿里云的mns需要用到的参数
|
|
|
+mns.accountendpoint = https://1111769578085953.mns.cn-hangzhou.aliyuncs.com/
|
|
|
+mns.accesskeyid = 2HUnzc9XJV92PjvW
|
|
|
+mns.accesskeysecret = 20mMc8wuzlfC0r323b6oJqxlBPEyjW
|
|
|
+
|
|
|
+#配送员最大可接单数量,最大不能超过10
|
|
|
+deliveryman_max_order_num = 8
|