添加评论机器人与教师端脚本发布。
This commit is contained in:
@@ -114,13 +114,13 @@
|
||||
<p id="p">原评论内容:{{ comment.pre_comment.comment_content }}</p> {# 如果有父级评论,则在中间显示父级评论的评论内容 #}
|
||||
{% endif %}
|
||||
<p>评论内容:{{ comment.comment_content }}</p>
|
||||
<p>GPT分析内容:{{ comment.gpt_content }}</p>
|
||||
<hr>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{# 提交评论的JS,发送Ajax请求 #}
|
||||
<script>
|
||||
var pid = "" {# 设置一个变量pid默认为空,用于后面作为数据库存储的父级评论的ID,如果没有父级评论则为空,子评论有父级评论 #}
|
||||
|
||||
Reference in New Issue
Block a user