package backend import ( "context" "net/http" pasturePb "gitee.com/xuyiping_admin/go_proto/proto/go/backend/cow" ) func (s *StoreEntry) OrderList(ctx context.Context, req *pasturePb.SearchWorkOrderRequest, pagination *pasturePb.PaginationModel) (*pasturePb.SearchWorkOrderResponse, error) { var count int64 = 0 return &pasturePb.SearchWorkOrderResponse{ Code: http.StatusOK, Message: "ok", Data: &pasturePb.SearchWorkOrderData{ List: nil, Total: int32(count), PageSize: pagination.PageSize, Page: pagination.Page, }, }, nil }