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

修復自帶數據集在網站頁面不顯示的問題 #8

Closed
wants to merge 1 commit into from
Closed

修復自帶數據集在網站頁面不顯示的問題 #8

wants to merge 1 commit into from

Conversation

appleyuchi
Copy link

@appleyuchi appleyuchi commented Apr 22, 2020

环境:
系统:ubuntu19.10
支持的redis-cli版本:5.0.5
python:3.6.10
mongo:3.6.8

修复的issue是:
#7

被修改的文件为:
bin/doc_to_redis.py(上传书本自带数据集的问题部分和答案部分)
generate_question.py

不显示点赞数量的原因:
doc_to_redis.py的上传部分的代码有问题,已经修复

不显示答案的原因:
generate_question.py导入question时,没有指定id,
但是generate_answer.py中的answer对应的question的id是固定的.
查询结果不匹配导致页面有问题,但是不显示答案.

修改后的效果:
修改后效果

@kingname
Copy link
Owner

kingname commented May 2, 2020

感谢提交,不过我另外更新了一版,你看一下。

@kingname kingname closed this May 2, 2020
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.

2 participants