@ticatec/restful_service_api 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/RestService.d.ts +1 -1
- package/package.json +1 -1
package/dist/RestService.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export default interface RestService {
|
|
|
45
45
|
* @param dataProcessor 可选的数据处理函数,用于在返回前转换响应数据
|
|
46
46
|
* @returns 返回Promise,解析为服务器响应数据
|
|
47
47
|
*/
|
|
48
|
-
put(url: string, data
|
|
48
|
+
put(url: string, data?: any, params?: any, contentType?: string, dataProcessor?: DataProcessor): Promise<any>;
|
|
49
49
|
/**
|
|
50
50
|
* 执行HTTP DELETE请求删除资源
|
|
51
51
|
* @param url 请求的目标URL路径
|
package/package.json
CHANGED