Commit ad1e8a9aeb3257650dda763949f4e6e3ff59ad9c
1 parent
816fd305
debug test
Showing
1 changed file
with
5 additions
and
1 deletions
src/api/notify/index.ts
| ... | ... | @@ -6,7 +6,11 @@ import { deleteEmptyParam } from '@/utils/tool' |
| 6 | 6 | * @function notifyList |
| 7 | 7 | */ |
| 8 | 8 | export const notifyList = async ( params: any ) => { |
| 9 | - let res: any = await request.get( '/notify/list', deleteEmptyParam(params) ) | |
| 9 | + let res: any = await request({ | |
| 10 | + method: 'get', | |
| 11 | + url: '/notify/list', | |
| 12 | + params: deleteEmptyParam(params) | |
| 13 | + }) | |
| 10 | 14 | return res |
| 11 | 15 | } |
| 12 | 16 | ... | ... |