|
|
@@ -8,9 +8,9 @@ import { LabelChangeType } from '@/pages/customer/Company/components/PersonLabel
|
|
|
* @returns 结果集
|
|
|
*/
|
|
|
export async function queryCustomers(payload) {
|
|
|
- const params = { page: 1, size: consts.PAGE_SIZE, ...payload }
|
|
|
+ const params = { current: 1, ...payload }
|
|
|
const data = await request.post('/api/customer/list', {
|
|
|
- data: { ...params }
|
|
|
+ data: params
|
|
|
})
|
|
|
return data
|
|
|
}
|