From 1142fde845359b102996f24054d6d0cd7ea0aca7 Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Thu, 9 May 2024 00:33:30 +0800 Subject: [PATCH] change mongo --- dbstruct/vas.sql | 1 + etc/mix/mix-prod.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dbstruct/vas.sql b/dbstruct/vas.sql index 2a0aad65..86d465d7 100644 --- a/dbstruct/vas.sql +++ b/dbstruct/vas.sql @@ -245,6 +245,7 @@ CREATE TABLE `vas_zone_moment_unlock` ); CREATE INDEX ix_mid_zid_moment_id ON vas_zone_moment_unlock (mid,zid,moment_id); CREATE INDEX ix_mid_moment_id ON vas_zone_moment_unlock (mid,moment_id); +CREATE INDEX ix_moment_id ON vas_zone_moment_unlock (moment_id); -- 空间退款记录 CREATE TABLE `vas_zone_refund_his` diff --git a/etc/mix/mix-prod.yaml b/etc/mix/mix-prod.yaml index 9430d499..c5757195 100644 --- a/etc/mix/mix-prod.yaml +++ b/etc/mix/mix-prod.yaml @@ -12,7 +12,7 @@ app: port: 9999 mix_mongo: - uri: "mongodb://root:Wishpal2024@dds-bp1a72ede37c55d4242490.mongodb.rds.aliyuncs.com:3717/admin" + uri: "mongodb://root:Wishpal2024@dds-bp1da1ddd62bede41.mongodb.rds.aliyuncs.com:3717,dds-bp1da1ddd62bede42.mongodb.rds.aliyuncs.com:3717/admin?replicaSet=mgset-77304659" username: "" password: "" max_pool_size: 16