ソースを参照

test:提交接口测试

fuwencai 2 年 前
コミット
01d2001f74

+ 24 - 7
jyBXBase/api/test/apitest.http

@@ -91,6 +91,11 @@ appId:10000
 ### 获取最新标讯- 未登录
 GRPC 127.0.0.1:8005/bxcol.bxbase/NewestBidding
 
+
+
+### 获取最新标讯- 登录
+GRPC 127.0.0.1:8005/bxcol.bxbase/NewestBidding
+
 {
   "positionId": 1204781659,
   "appId": "10000",
@@ -105,10 +110,22 @@ GRPC 127.0.0.1:8005/bxcol.bxbase/NewestBidding
   "phone": "18238182402"
 }
 
-
-### 获取最新标讯- 登录
-GRPC 127.0.0.1:8005/bxcol.bxbase/NewestBidding
-
-
-### 获取最新标讯- 登录没有推送数据
-GRPC 127.0.0.1:8005/bxcol.bxbase/NewestBidding
+###
+POST http://127.0.0.1:8006/jybx/base/newest
+Content-Type: application/json
+positionId": 1204781659,
+appId: "10000",
+entId: null,
+entUserId: null,
+entAccountId: null,
+positionType: 0,
+accountId: "121233",
+mgoUserId: "641aa7bcac1c8e639bc15cdb",
+userId: "641aa7bcac1c8e639bc15cdb",
+newUserId: 486050,
+phone: "18238182402
+
+###
+POST http://192.168.3.240:8077/jybx/base/newest
+Content-Type: application/json
+Cookie:SESSIONID=6d22fac04ab1904bbda1e536773e8c1054b91fc3;

+ 1 - 1
jyBXBase/rpc/internal/logic/newestbiddinglogic.go

@@ -61,7 +61,7 @@ func (l *NewestBiddingLogic) NewestBidding(in *bxbase.NewestBiddingReq) (*bxbase
 			return res, model.StatusNoLogin
 		}
 
-		// 登录根据用户
+		// 登录用户
 		roleNewestInfo, flag := model.GetRoleNewestInfoService(in.AppId, in.MgoUserId, in.NewUserId, in.AccountId, in.EntId, in.EntUserId, in.PositionType, in.PositionId)
 		res.Data.SubFlag = flag
 		// 查count判断