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