Request 路径的bug

This commit is contained in:
禾几海
2020-07-01 00:08:13 +08:00
parent b60688cfd7
commit 3dce668594
2 changed files with 7 additions and 5 deletions

View File

@@ -2,6 +2,7 @@ import {HttpHeaders} from '@angular/common/http';
export class RequestObj {
path: string;
url?: string; // 仅在httpService里面进行使用
method: 'GET' | 'POST' | 'PUT' | 'DELETE';
data?: {};
contentType?: 'application/json' | 'application/x-www-form-urlencoded';