79762358

Date: 2025-09-11 21:00:47
Score: 2
Natty:
Report link

The problem is that ImageTool expects success at the top level, not inside data. Return this from uploadByFile:

return {

success: 1,

file: {

url: resp.data.data.file.url

}

};

This will let ImageTool read success and handle the uploaded file correctly.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Daniel Carter