Merge branch '20220613-将PUT和DELETE请求更改成POST请求' into 'release_20220923'
9.23 1、将PUT和DELETE请求更改成POST请求 2、重评点击保存一直转圈 See merge request eshop/fe_service_ebtp_frontend!4
This commit is contained in:
@ -7,15 +7,15 @@ import request from '@/utils/request';
|
||||
|
||||
export async function addInvoice(params: any) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidinvoice/saveInvoice', {
|
||||
method: 'PUT',
|
||||
method: 'POST',
|
||||
data: params
|
||||
});
|
||||
}
|
||||
|
||||
//费用列表查询
|
||||
export async function getList(params?: any) {
|
||||
return request(`/api/biz-service-ebtp-expenses/v1/bizbidorder/payerGetlist`,{
|
||||
method:'GET',
|
||||
return request(`/api/biz-service-ebtp-expenses/v1/bizbidorder/payerGetlist`, {
|
||||
method: 'GET',
|
||||
params,
|
||||
});
|
||||
}
|
||||
@ -29,9 +29,9 @@ export async function getCommonInvoiceList(params: any) {
|
||||
`/api/biz-service-ebtp-expenses/v1/bizbidinvoicecommon/list`,
|
||||
{
|
||||
method: 'GET',
|
||||
params:{
|
||||
params: {
|
||||
...params,
|
||||
pageNo:params.current,
|
||||
pageNo: params.current,
|
||||
}
|
||||
},
|
||||
);
|
||||
@ -46,7 +46,7 @@ export async function getCommonAddressList(params: any) {
|
||||
`/api/biz-service-ebtp-expenses/v1/bizbidinvoiceaddress/list`,
|
||||
{
|
||||
method: 'GET',
|
||||
params:{
|
||||
params: {
|
||||
...params,
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user