浏览代码

feat:更新

wangshan 3 年之前
父节点
当前提交
c3955bf43a

+ 10 - 10
jyBXBase/api/bxbase.api

@@ -90,33 +90,33 @@ type (
 service bxbase-api {
 	//招标信息是否被收藏
 	@handler IsCollAction
-	post /bidcoll/isColl (IsCollAction) returns(CommonRes)
+	post /jybx/base/isColled (IsCollAction) returns(CommonRes)
 	//招标信息收藏
 	@handler BCAction
-	post /bidcoll/action (BCAction) returns(CommonRes)
+	post /jybx/base/collAction (BCAction) returns(CommonRes)
 	//标签新增或删除
 	@handler LabelAction
-	post /bidcoll/label (LabelAction) returns(CommonRes)
+	post /jybx/base/label (LabelAction) returns(CommonRes)
 	//获取标签
 	@handler GetLabelAction
-	post /bidcoll/getLabel (GetLabelAction) returns(CommonRes)
+	post /jybx/base/getLabel (GetLabelAction) returns(CommonRes)
 	//获取收藏列表
 	@handler List
-	post /bidcoll/list (List) returns(CommonRes)
+	post /jybx/base/collList (List) returns(CommonRes)
 	//添加标签
 	@handler AddLabel
-	post /bidcoll/addLabel (AddLabel) returns(CommonRes)
+	post /jybx/base/addLabel (AddLabel) returns(CommonRes)
 	
 	//展示筛选条件
 	@handler ShowSearchScreen
-	post /search/showSearchScreen (ShowSearchScreen) returns(CommonRes)
+	post /jybx/base/showSearchScreen (ShowSearchScreen) returns(CommonRes)
 	//添加筛选条件
 	@handler AddSearchScreen
-	post /search/addSearchScreen (AddSearchScreen) returns(CommonRes)
+	post /jybx/base/addSearchScreen (AddSearchScreen) returns(CommonRes)
 	//校验筛选条件
 	@handler CheckSearchScreen
-	post /search/checkSearch (AddSearchScreen) returns(CommonRes)
+	post /jybx/base/checkSearchScreen (AddSearchScreen) returns(CommonRes)
 	//删除筛选条件
 	@handler DelSearchScreen
-	post /search/delSearch (DelSearchScreen) returns(CommonRes)
+	post /jybx/base/delSearchScreen (DelSearchScreen) returns(CommonRes)
 }

+ 1 - 1
jyBXBase/api/etc/bxbase-api.yaml

@@ -12,4 +12,4 @@ BxBase:
     Key: bxbase.rpc
 Webrpcport: 8016
 MgoLogsName: jybxbase_logs
-MgoLogsCount: 5
+MgoLogsCount: 500

+ 1 - 1
jyBXBase/api/etc/logs.yaml

@@ -3,4 +3,4 @@ Path: ./logs
 Level:
   - info
   - error
-KeepDays: 1
+KeepDays: 10

+ 10 - 10
jyBXBase/api/internal/handler/routes.go

@@ -14,52 +14,52 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
 		[]rest.Route{
 			{
 				Method:  http.MethodPost,
-				Path:    "/bidcoll/isColl",
+				Path:    "/jybx/base/isColled",
 				Handler: IsCollActionHandler(serverCtx),
 			},
 			{
 				Method:  http.MethodPost,
-				Path:    "/bidcoll/action",
+				Path:    "/jybx/base/collAction",
 				Handler: BCActionHandler(serverCtx),
 			},
 			{
 				Method:  http.MethodPost,
-				Path:    "/bidcoll/label",
+				Path:    "/jybx/base/label",
 				Handler: LabelActionHandler(serverCtx),
 			},
 			{
 				Method:  http.MethodPost,
-				Path:    "/bidcoll/getLabel",
+				Path:    "/jybx/base/getLabel",
 				Handler: GetLabelActionHandler(serverCtx),
 			},
 			{
 				Method:  http.MethodPost,
-				Path:    "/bidcoll/list",
+				Path:    "/jybx/base/collList",
 				Handler: ListHandler(serverCtx),
 			},
 			{
 				Method:  http.MethodPost,
-				Path:    "/bidcoll/addLabel",
+				Path:    "/jybx/base/addLabel",
 				Handler: AddLabelHandler(serverCtx),
 			},
 			{
 				Method:  http.MethodPost,
-				Path:    "/search/showSearchScreen",
+				Path:    "/jybx/base/showSearchScreen",
 				Handler: ShowSearchScreenHandler(serverCtx),
 			},
 			{
 				Method:  http.MethodPost,
-				Path:    "/search/addSearchScreen",
+				Path:    "/jybx/base/addSearchScreen",
 				Handler: AddSearchScreenHandler(serverCtx),
 			},
 			{
 				Method:  http.MethodPost,
-				Path:    "/search/checkSearch",
+				Path:    "/jybx/base/checkSearchScreen",
 				Handler: CheckSearchScreenHandler(serverCtx),
 			},
 			{
 				Method:  http.MethodPost,
-				Path:    "/search/delSearch",
+				Path:    "/jybx/base/delSearchScreen",
 				Handler: DelSearchScreenHandler(serverCtx),
 			},
 		},

+ 1 - 1
jyBXBuyer/api/etc/bxbuyer-api.yaml

@@ -14,4 +14,4 @@ Buyer:
     Key: bxbuyer.rpc
 AppId: 10000
 MgoLogsName: jybxbuyer_logs
-MgoLogsCount: 5
+MgoLogsCount: 500

+ 1 - 1
jyBXBuyer/api/etc/logs.yaml

@@ -3,4 +3,4 @@ Path: ./logs
 Level:
   - info
   - error
-KeepDays: 1
+KeepDays: 10

+ 1 - 1
jyBXBuyer/rpc/etc/logs.yaml

@@ -3,4 +3,4 @@ Path: ./logs
 Level:
   - info
   - error
-KeepDays: 1
+KeepDays: 10

+ 1 - 1
jyBXCore/api/etc/bxcore-api.yaml

@@ -14,4 +14,4 @@ Core:
     Key: bxcore.rpc
 AppId: 10000
 MgoLogsName: jybxcore_logs
-MgoLogsCount: 5
+MgoLogsCount: 500

+ 1 - 1
jyBXCore/api/etc/logs.yaml

@@ -3,4 +3,4 @@ Path: ./logs
 Level:
   - info
   - error
-KeepDays: 1
+KeepDays: 10

+ 1 - 1
jyBXCore/rpc/etc/logs.yaml

@@ -3,4 +3,4 @@ Path: ./logs
 Level:
   - info
   - error
-KeepDays: 1
+KeepDays: 10

+ 1 - 1
jyBXSubscribe/api/etc/bxsubscribe-api.yaml

@@ -13,4 +13,4 @@ Subscribe:
     Key: bxsubscribe.rpc
 AppId: 10000
 MgoLogsName: jybxsubscribe_logs
-MgoLogsCount: 5
+MgoLogsCount: 500

+ 1 - 1
jyBXSubscribe/api/etc/logs.yaml

@@ -3,4 +3,4 @@ Path: ./logs
 Level:
   - info
   - error
-KeepDays: 1
+KeepDays: 10

+ 0 - 59
jyBXSubscribe/rpc/etc/db.json

@@ -1,59 +0,0 @@
-{
-  "mongoDB": {
-    "main": {
-      "address": "192.168.3.206:27080",
-      "size": 5,
-      "dbName": "qfw"
-    },
-    "bidding": {
-      "address": "192.168.3.207:27001,192.168.3.206:27002",
-      "size": 5,
-      "dbName": "qfw_data",
-      "collection": "bidding",
-      "collectionBack": "bidding_back",
-      "userName": "jyDevGroup",
-      "password": "jy@DevGroup"
-    }
-  },
-  "es": {
-    "addr": "http://192.168.3.206:9800",
-    "size": 5
-  },
-  "redisDB": {
-    "addr": ["other=192.168.3.206:1712", "newother=192.168.3.206:1712"]
-  },
-  "mysql": {
-    "main": {
-      "dbName": "jianyu",
-      "address": "192.168.3.11:3366",
-      "userName": "root",
-      "password": "Topnet123",
-      "maxOpenConns": 5,
-      "maxIdleConns": 5
-    },
-    "push": {
-      "dbName": "jianyu",
-      "address": "192.168.3.11:3366",
-      "userName": "root",
-      "password": "Topnet123",
-      "maxOpenConns": 5,
-      "maxIdleConns": 5
-    },
-    "memberPush": {
-      "dbName": "jianyu",
-      "address": "192.168.3.11:3366",
-      "userName": "root",
-      "password": "Topnet123",
-      "maxOpenConns": 5,
-      "maxIdleConns": 5
-    },
-    "entnichePush": {
-      "dbName": "jianyu",
-      "address": "192.168.3.11:3366",
-      "userName": "root",
-      "password": "Topnet123",
-      "maxOpenConns": 5,
-      "maxIdleConns": 5
-    }
-  }
-}

+ 1 - 1
jyBXSubscribe/rpc/etc/logs.yaml

@@ -3,4 +3,4 @@ Path: ./logs
 Level:
   - info
   - error
-KeepDays: 1
+KeepDays: 10