Jianghan hace 1 año
padre
commit
2edf3bda17
Se han modificado 1 ficheros con 6 adiciones y 7 borrados
  1. 6 7
      api/internal/logic/coophistorylistlogic.go

+ 6 - 7
api/internal/logic/coophistorylistlogic.go

@@ -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,
 		}
 	}