plain-design 1.0.0-beta.141 → 1.0.0-beta.143
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/package.json
CHANGED
|
@@ -71,7 +71,7 @@ export const buildPlainDefaultUrlConfig = (): tGetDefaultUrlConfig => {
|
|
|
71
71
|
* @date 2022.12.25 11:34
|
|
72
72
|
*/
|
|
73
73
|
delete: async (param) => {
|
|
74
|
-
return processPublicRequest('delete', { ...param,
|
|
74
|
+
return processPublicRequest('delete', { ...param, suffixUrl: 'delete', method: 'post', });
|
|
75
75
|
},
|
|
76
76
|
/**
|
|
77
77
|
* 批量删除
|
|
@@ -79,7 +79,7 @@ export const buildPlainDefaultUrlConfig = (): tGetDefaultUrlConfig => {
|
|
|
79
79
|
* @date 2022.12.27 21:02
|
|
80
80
|
*/
|
|
81
81
|
batchDelete: async (param) => {
|
|
82
|
-
return processPublicRequest('batchDelete', { ...param,
|
|
82
|
+
return processPublicRequest('batchDelete', { ...param, suffixUrl: 'delete', method: 'post' });
|
|
83
83
|
},
|
|
84
84
|
/**
|
|
85
85
|
* 默认使用post方法调用接口base/default查询默认新建数据
|