Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

上传后希望能返回图片的 id #180

Closed
app-awsl opened this issue Jan 17, 2021 · 1 comment
Closed

上传后希望能返回图片的 id #180

app-awsl opened this issue Jan 17, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@app-awsl
Copy link

现在上传后返回的响应没有包含图片 id
导致调用删除 api 时只能先 listImage,然后通过 url 匹配拿到 id,再进行删除

希望调用上传接口,返回图片 id
或者增加根据 url 删除的 delete api

@app-awsl app-awsl reopened this Jan 17, 2021
@wisp-x
Copy link
Collaborator

wisp-x commented Jan 17, 2021

开发版本已实现上传接口返回 ID,尚未发布,下个版本生效,暂时可以替换该文件来解决:
https://github.com/wisp-x/lsky-pro/blob/dev/application/common/controller/Upload.php
commit:b23fc23

@wisp-x wisp-x added the enhancement New feature or request label Jan 17, 2021
@wisp-x wisp-x closed this as completed in 1bbd06c Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants