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