文件的数据量并不大,csv格式也很简单。wx.writefile可以写入到txt文件中,怎么把这个文件导出到手机本地呢?或者分析给其他人?
前端生成txt或者csv文件?Does the front end generate txt or csv files?
前端生成txt或者csv文件?文件的数据量并不大,csv格式也很简单。wx.writefile可以写入到txt文件中,怎么把这个文件导出到手机本地呢?或者分析给其他人?
The amount of data in the file is not large, and the CSV format is also very simple. wx. WriteFile can be written into TXT file. How to export this file to the local phone? Or analyze it to others?
回答:
微信不行,可以通过后台服务端实现。
原文出处:前端生成txt或者csv文件?
分享文件用:wx.shareFileMessage
https://developers.weixin.qq.com/miniprogram/dev/api/share/wx.shareFileMessage.html