|
|
@@ -8,7 +8,7 @@ import { Method } from 'axios';
|
|
|
* @param method 请求方式
|
|
|
* @returns
|
|
|
*/
|
|
|
-export function commonSearch_go(url: string, params: Object, method: Method = 'get'): Promise<any> {
|
|
|
+export function commonSearch_go<T>(url: string, params: T, method: Method = 'get'): Promise<any> {
|
|
|
return request({
|
|
|
method,
|
|
|
url: goCommonSearchUrl(url),
|