openxiangda 1.0.131 → 1.0.133

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.
@@ -12150,7 +12150,7 @@ async function handleApproval(request, params) {
12150
12150
  async function withdrawProcess(request, params) {
12151
12151
  const response = await request({
12152
12152
  url: `/workflow/instance/${params.instanceId}/withdraw`,
12153
- method: "put",
12153
+ method: "post",
12154
12154
  data: { reason: params.reason }
12155
12155
  });
12156
12156
  return unwrapRuntimeResponse(response);
@@ -12158,7 +12158,7 @@ async function withdrawProcess(request, params) {
12158
12158
  async function transferTask(request, params) {
12159
12159
  const response = await request({
12160
12160
  url: `/workflow/task/${params.taskId}/transfer`,
12161
- method: "put",
12161
+ method: "post",
12162
12162
  data: { newAssignee: params.newAssignee, reason: params.reason }
12163
12163
  });
12164
12164
  return unwrapRuntimeResponse(response);
@@ -12166,7 +12166,7 @@ async function transferTask(request, params) {
12166
12166
  async function returnTask(request, params) {
12167
12167
  const response = await request({
12168
12168
  url: `/workflow/task/${params.taskId}/return`,
12169
- method: "put",
12169
+ method: "post",
12170
12170
  data: { targetNodeId: params.targetNodeId, reason: params.reason }
12171
12171
  });
12172
12172
  return unwrapRuntimeResponse(response);