fix(commonTable): 请求参数的传递

This commit is contained in:
禾几海
2020-09-05 17:19:07 +08:00
parent 072eaa12e8
commit 138b93da09
2 changed files with 8 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ export class RequestObj {
method: 'GET' | 'POST' | 'PUT' | 'DELETE';
data?: {};
contentType?: 'application/json' | 'application/x-www-form-urlencoded';
queryParam?: {};
queryParam?: { [key: string]: any };
header?: HttpHeaders | {
[header: string]: string | string[];
};