|
@@ -25,18 +25,17 @@ func NewCoopHistoryListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *C
|
|
|
|
|
|
func (l *CoopHistoryListLogic) CoopHistoryList(req *types.CoopHistoryReq) (resp *types.Reply, err error) {
|
|
|
resp = &types.Reply{}
|
|
|
- result, size1, size2, size3, size4, bid := service.GetPrList(req)
|
|
|
+ result, size1, size2, size3, size4 := service.GetPrList(req)
|
|
|
if result == nil {
|
|
|
resp.Error_code = -1
|
|
|
resp.Error_msg = "查询异常"
|
|
|
} else {
|
|
|
resp.Data = map[string]interface{}{
|
|
|
- "list": result,
|
|
|
- "size1": size1,
|
|
|
- "size2": size2,
|
|
|
- "size3": size3,
|
|
|
- "size4": size4,
|
|
|
- "buyerId": bid,
|
|
|
+ "list": result,
|
|
|
+ "size1": size1,
|
|
|
+ "size2": size2,
|
|
|
+ "size3": size3,
|
|
|
+ "size4": size4,
|
|
|
}
|
|
|
}
|
|
|
|