Browse Source

消息类型修改

WH01243 2 years ago
parent
commit
71bead98f8
2 changed files with 1 additions and 43 deletions
  1. 1 38
      rpc/codeservice/etc/db.yaml
  2. 0 5
      rpc/codeservice/init/db.go

+ 1 - 38
rpc/codeservice/etc/db.yaml

@@ -1,45 +1,8 @@
 mysql:
-    main:
-        dbName: jianyu
-        address: 192.168.3.11:3366
-        userName: root
-        password: Topnet123
-        maxOpenConns: 5
-        maxIdleConns: 5
-    baseService:
-        dbName: base_service
-        address: 192.168.3.217:4000
-        userName: root
-        password: '=PDT49#80Z!RVv52_z'
-        maxOpenConns: 5
-        maxIdleConns: 5
     globalCommonData:
         dbName: global_common_data
         address: 192.168.3.14:4000
         userName: root
         password: '=PDT49#80Z!RVv52_z'
         maxOpenConns: 5
-        maxIdleConns: 5
-redis:
-    addr:
-        - other=192.168.3.206:1712
-        - push=192.168.3.206:1712
-        - pushcache_1=127.0.0.1:6379
-        - pushcache_2_a=127.0.0.1:6379
-        - pushcache_2_b=127.0.0.1:6379
-es:
-    addr: http://192.168.3.206:9800
-    size: 30
-mongo:
-    main:
-        dbName: qfw
-        size: 5
-        address: 192.168.3.206:27080
-    bidding:
-        address: 192.168.3.206:27001
-        size: 5
-        dbName: qfw_data
-        collection: bidding
-        collectionChange: bidding_back
-        userName: jyDevGroup
-        password: jy@DevGroup
+        maxIdleConns: 5

+ 0 - 5
rpc/codeservice/init/db.go

@@ -7,15 +7,10 @@ import (
 	"bp.jydev.jianyu360.cn/BaseService/jyCodeService/entity"
 	"github.com/zeromicro/go-zero/core/logx"
 
-	"app.yhyue.com/moapp/jybase/mongodb"
 	"app.yhyue.com/moapp/jybase/mysql"
 )
 
 var (
-	MainMysql        *mysql.Mysql
-	BaseServiceMysql *mysql.Mysql
-	Mgo              mongodb.MongodbSim
-	MgoBidding       mongodb.MongodbSim
 	GlobalCommonData *mysql.Mysql
 )