Skip to content

Commit 27bf68f

Browse files
fix: 修改评论接口
1 parent 5be8f46 commit 27bf68f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/app/controller/blog/comment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class CommentController extends controller {
8080
"INSERT INTO visitor_comment(visitor_id, comment, publish_time, novel_id";
8181
} else if (request.typeName === "aboutId") {
8282
sql =
83-
"INSERT INTO visitor_comment(visitor_id, comment, publish_time, adout_id";
83+
"INSERT INTO visitor_comment(visitor_id, comment, publish_time, about_id";
8484
}
8585
if (request.beCommentId) {
8686
sql += ", be_comment_id ) VALUES (?, ?, ?, ?, ?)";

0 commit comments

Comments
 (0)