import CollectBidListApiBase from './base' import { ajaxCollectBidList } from '../api/collect-api' export default class CollectBidListApi extends CollectBidListApiBase { constructor(config) { super(config) } /** * 覆写请求 */ async ajaxQuery(params) { return ajaxCollectBidList(params).then((res) => { let success = res?.error_code === 0 return { success: success, list: res.data?.res || [], total: res.data?.count || 0, origin: res.data } }) } }