6.20 前端put和delete请求类型修改为post
This commit is contained in:
@ -38,8 +38,8 @@ export async function addQuestion(data: any) {
|
||||
* @param param
|
||||
*/
|
||||
export async function changeResult(data: any) {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/eval/question', {
|
||||
method: 'put',
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/eval/question/update', {
|
||||
method: 'POST',
|
||||
data: data
|
||||
});
|
||||
}
|
||||
@ -49,8 +49,8 @@ export async function changeResult(data: any) {
|
||||
* @param param
|
||||
*/
|
||||
export async function dellQuestion(id: any) {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/eval/question/'+id, {
|
||||
method: 'DELETE',
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/eval/question/del/' + id, {
|
||||
method: 'POST',
|
||||
});
|
||||
}
|
||||
|
||||
@ -59,7 +59,7 @@ export async function dellQuestion(id: any) {
|
||||
* @param param
|
||||
*/
|
||||
export async function changeQuestion(id: any) {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/eval/question/'+id, {
|
||||
return request('/api/biz-service-ebtp-rsms/v1/bid/eval/question/' + id, {
|
||||
method: 'get',
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user