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

feat: add upload gift card page #510

Merged
merged 2 commits into from
Apr 17, 2024
Merged

Conversation

ccjaread
Copy link
Contributor

@ccjaread ccjaread commented Apr 6, 2024

针对 #457 尝试新增了一个上传giftcard的页面,方便使用docker的用户导入,但限于post的数据量,需要记录小于2k行,个人觉得一般也够用了,有大规模导入需求的可以用其他专门管理api使用量的app来从源头限制用量或是用mongo工具导入。
上传文件的样例:
giftcards-sample.csv
image

新增了一个上传giftcard的页面
service/src/storage/mongo.ts Outdated Show resolved Hide resolved
change deletemany to drop when overRide giftcards DB
@BobDu BobDu merged commit 50665f6 into chatgpt-web-dev:main Apr 17, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants