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

WxAppApi.GetWxaCode接口实现未判断本地文件是否存在 #38

Open
DonnotRain opened this issue Aug 5, 2019 · 1 comment
Open

Comments

@DonnotRain
Copy link

[ApiBind(Senparc.NeuChar.PlatformType.WeChat_MiniProgram, "WxAppApi.GetWxaCode", true)] public static WxJsonResult GetWxaCode( string accessTokenOrAppId, string filePath, string path, int width = 430, bool auto_color = false, LineColor lineColor = null, bool isHyaline = false, int timeOut = 10000)
未判断filePath文件是否存在,直接调用删除,导致异常

@JeffreySu
Copy link
Owner

是的,所有下载文件接口调用之后,都需要手动判断一下文件情况,因为还可能存在文件内部存储了异常信息的可能,我们会在未来完善这个功能,目前请手动处理。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants