Skip to content

Whether it supports opening files with a browser----是否支持指定包名打开文 #495

Closed
@xiaobaiweinuli

Description

@xiaobaiweinuli
{"code":0,"cost":"0","data":"{\"data\":\"https://fj.cheemao.com/uploads/202521/202521/a9d69dfbe6c9e9d7cf74519f8257.txt\",\"previewUrl\":\"https://fileai.bdip.com/static/gpt_image/a6c79cf3b6d4cf24eedf5accf7.html\"}","debug_url":"https://www.coze.cn/work_flow?execute_id=7506762973525504\u0026space_id=7439575647959051\u0026workflow_id=750603524171174\u0026execute_mode=2","msg":"Success","token":2447}

执行完curl后,获得上面的响应,然后用JavaScript获取响应中data的链接构建下载另存为html,再用via浏览器打开(previewUrl后面的链接则复制到剪切板)
目前卡在用代码来实现打开文件这一步,不知道是我编写的问题还是本身不支持。
麻烦解答一下


After executing curl, obtain the above response. Then, use JavaScript to get the link of 'data' in the response, build and download it, save it as html, and open it with the via browser (the link after the previewUrl is copied to the clipboard).
Currently, I'm stuck at the step of using code to open files. I'm not sure if it's a problem with my writing or if it's not supported by the code itself.
Could you please answer me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions