84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
今天领导给我负责策划的app提了一个要求:把app用户留言的工作信息在手机里能导出,并且是Excel的;表示从没见过这种功能;实在是不知道怎么实现; 有谁有经验给个大致方法 感谢!!!
It mainly depends on how the content of user messages is stored. In most cases it should be json. Use some framework to convert json into csv format, and you can use it in excel
The following library can convert json 到 csvjson2csv
json
csv
We can understand it as downloading. The backend generates an excel table and provides a download interface to the frontend. That’s it.
https://www.npmjs.com/package...
As long as you can get the data, you can export it
It mainly depends on how the content of user messages is stored. In most cases it should be json. Use some framework to convert json into csv format, and you can use it in excel
The following library can convert
json
到csv
json2csv
We can understand it as downloading. The backend generates an excel table and provides a download interface to the frontend. That’s it.
https://www.npmjs.com/package...
As long as you can get the data, you can export it