Commit b59d25a7 authored by 肖爱江's avatar 肖爱江

Update task.js

parent a4015082
Pipeline #13623 passed with stage
in 5 seconds
......@@ -48,11 +48,12 @@ class TaskService extends Service {
async fetchCapture({ taskId, type }) {
const { taskAPI, ctx } = this;
const { fetchCodeUrl } = taskAPI;
const result = await this._request(fetchCodeUrl, {
method: 'post',
data: {
taskId,
type,
type: type === "code" ? "shebaoV2_yzm":"shebaoV2_phone_code",
},
contentType: 'json',
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment