// p300 投标项目管理接口测试
### rpc接口测试
###  列表页 个人
GRPC 127.0.0.1:8003/bxcore.BxCore/ParticipateShow

{
  "ids":"ABCY2FddTxYLyo4And1c08ODCcoGjF0XGB%2BKDggPSFFYFJwGC9UCa0%3D,ABCY2FddT1YLy8vNGN6c2I%2FIzNfCSd3cXhyKA4ZLTogUX5wHDNUCkw%3D",
  "entId": 0,
  "entUserId": 0,
  "positionId": 1204781659,
  "positionType": 0,
  "mgoUserId": "641aa7bcac1c8e639bc15cdb",
  "appId": 10000,
  "userId": "641aa7bcac1c8e639bc15cdb",
  "newUserId": 486050,
  "accountId": 360058
}

###  列表页 企业
GRPC 127.0.0.1:8003/bxcore.BxCore/ParticipateShow

{
  "ids":"ABCY2FddTxYLyo4And1c08ODCcoGjF0XGB%2BKDggPSFFYFJwGC9UCa0%3D,ABCY2FddT1YLy8vNGN6c2I%2FIzNfCSd3cXhyKA4ZLTogUX5wHDNUCkw%3D",
  "entId": 25922,
  "entUserId": 6116,
  "positionId": 1205051263,
  "positionType": 1,
  "mgoUserId": "641aa7bcac1c8e639bc15cdb",
  "appId": 10000,
  "userId": "1205051263",
  "newUserId": 486050,
  "accountId": 360157
}


### 详情页参标信息 -正常
GRPC 127.0.0.1:8003/bxcore.BxCore/ParticipateInfo

{
  "sid":"ABCY2FddTxYLyo4And1c08ODCcoGjF0XGB%2BKDggPSFFYFJwGC9UCa0%3D",
  "entId": 25922,
  "entUserId": 6116,
  "positionId": 1205051263,
  "positionType": 1,
  "mgoUserId": "641aa7bcac1c8e639bc15cdb",
  "appId": 10000,
  "userId": "1205051263",
  "newUserId": 486050,
  "accountId": 360157
}
### 详情页参标信息-无权限
GRPC 127.0.0.1:8003/bxcore.BxCore/ParticipateInfo

{
  "sid":"ABCY2FddTxYLyo4And1c08ODCcoGjF0XGB%2BKDggPSFFYFJwGC9UCa0%3D",
  "entId": 25922,
  "entUserId": 6117,
  "positionId": 1205051265,
  "positionType": 1,
  "mgoUserId": "644a493516f19b49b8451716",
  "appId": 10000,
  "userId": "1205051265",
  "newUserId": 725515,
  "accountId": 360158
}




### 更新投标状态
GRPC 127.0.0.1:8003/bxcore.BxCore/UpdateBidStatus


{
  "sid":"ABCY2FddTxYLyo4And1c08ODCcoGjF0XGB%2BKDggPSFFYFJwGC9UCa0%3D",
  "entId": 25922,
  "entUserId": 6116,
  "positionId": 1205051263,
  "positionType": 1,
  "mgoUserId": "641aa7bcac1c8e639bc15cdb",
  "appId": 10000,
  "userId": "1205051263",
  "newUserId": 486050,
  "accountId": 360157,
  "bidType": 1,
  "bidStage": [],
  "isWin": 1,
  "channelName": "阿勒泰",
  "channelPerson": "若羌",
  "channelPhone": "",
  "winner": ""

}


### 获取最新的投标状态内容
GRPC 127.0.0.1:8003/bxcore.BxCore/ParticipateContent

{
  "sid":"ABCY2FddTxYLyo4And1c08ODCcoGjF0XGB%2BKDggPSFFYFJwGC9UCa0%3D",
  "entId": 25922,
  "entUserId": 6116,
  "positionId": 1205051263,
  "positionType": 1,
  "mgoUserId": "641aa7bcac1c8e639bc15cdb",
  "appId": 10000,
  "userId": "1205051263",
  "newUserId": 486050,
  "accountId": 360157


}


### 获取操作记录  页面不传默认 500
GRPC 127.0.0.1:8003/bxcore.BxCore/ParticipateRecords


{
  "sid":"ABCY2FddTxYLyo4And1c08ODCcoGjF0XGB%2BKDggPSFFYFJwGC9UCa0%3D",
  "entId": 25922,
  "entUserId": 6116,
  "positionId": 1205051263,
  "positionType": 1,
  "mgoUserId": "641aa7bcac1c8e639bc15cdb",
  "appId": 10000,
  "userId": "1205051263",
  "newUserId": 486050,
  "accountId": 360157,
  "page": 1,
  "pageSize": 10


}

### api接口测试
### 列表页参标信息接口
POST http://127.0.0.1:8004/jybx/core/participate/show
Content-Type: application/json
entId: 25922
entUserId: 6116
positionId: 1205051263
positionType: 1
mgoUserId: 641aa7bcac1c8e639bc15cdb
appId: 10000
userId: 1205051263
newUserId: 486050
accountId: 360157

{
  "ids":"ABCY2FddTxYLyo4And1c08ODCcoGjF0XGB%2BKDggPSFFYFJwGC9UCa0%3D,ABCY2EAdi4vKygvM3xhcHUJJzACHj1mZnB%2FPDgZKSEwc3xzeVJUCg4%3D"
}

###  详情页参标信息接口
POST http://127.0.0.1:8004/jybx/core/participate/info
Content-Type: application/json
entId: 25922
entUserId: 6116
positionId: 1205051263
positionType: 1
mgoUserId: 641aa7bcac1c8e639bc15cdb
appId: 10000
userId: 1205051263
newUserId: 486050
accountId: 360157

{
"sid":"ABCY2FddTxYLyo4And1c08ODCcoGjF0XGB%2BKDggPSFFYFJwGC9UCa0%3D"
}



###  更新参标状态
POST http://127.0.0.1:8004/jybx/core/participate/updateBidStatus
Content-Type: application/json
entId: 25922
entUserId: 6116
positionId: 1205051263
positionType: 1
mgoUserId: 641aa7bcac1c8e639bc15cdb
appId: 10000
userId: 1205051263
newUserId: 486050
accountId: 360157

{
  "sid":"ABCY2FddTxYLyo4And1c08ODCcoGjF0XGB%2BKDggPSFFYFJwGC9UCa0%3D",
  "bidType": 2,
  "bidStage": [],
  "isWin": 2,
  "channelName": "霍尔果斯",
  "channelPerson": "若羌",
  "channelPhone": "",
  "winner": ""
}

###  参标操作记录 页码不传时 默认500
POST http://127.0.0.1:8004/jybx/core/participate/records
Content-Type: application/json
entId: 25922
entUserId: 6116
positionId: 1205051263
positionType: 1
mgoUserId: 641aa7bcac1c8e639bc15cdb
appId: 10000
userId: 1205051263
newUserId: 486050
accountId: 360157

{
  "sid":"ABCY2FddTxYLyo4And1c08ODCcoGjF0XGB%2BKDggPSFFYFJwGC9UCa0%3D",
  "page": 1,
  "pageSize": 5
}

###  获取最新的投标状态信息
POST http://127.0.0.1:8004/jybx/core/participate/content
Content-Type: application/json
entId: 25922
entUserId: 6116
positionId: 1205051263
positionType: 1
mgoUserId: 641aa7bcac1c8e639bc15cdb
appId: 10000
userId: 1205051263
newUserId: 486050
accountId: 360157

{
  "sid":"ABCY2FddTxYLyo4And1c08ODCcoGjF0XGB%2BKDggPSFFYFJwGC9UCa0%3D"
}

###  获取最新的投标状态信息
GRPC http://127.0.0.1:8003/bxcore.BxCore/ParticipateSetUpInfo

{
  "entId": 0,
  "entUserId": 0,
  "positionId": 1204781659,
  "positionType": 0,
  "mgoUserId": "641aa7bcac1c8e639bc15cdb",
  "appId": 10000,
  "userId": "641aa7bcac1c8e639bc15cdb",
  "newUserId": 486050,
  "accountId": 360058
}
###
GRPC http://127.0.0.1:8003/bxcore.BxCore/ParticipateSetUpInfo

{
"entId": 0,
"entUserId": 0,
"positionId": 1204781659,
"positionType": 0,
"mgoUserId": "641aa7bcac1c8e639bc15cdb",
"appId": 10000,
"userId": "641aa7bcac1c8e639bc15cdb",
"newUserId": 486050,
"accountId": 360058
}
