import SearchListApiBase from './base' import { ajaxGetSearchBidList } from '../api/search-bid' export default class SearchBidListApi extends SearchListApiBase { constructor(config) { super(config) } /** * 覆写请求 */ async ajaxQuery(params) { const type = params._expand.type delete params._expand return ajaxGetSearchBidList(type, params).then((res) => { let success = res?.error_code === 0 return { success: success, list: res.data?.list || [], total: res.data?.total || 0, origin: res.data } }) } }