User comment question
新新新新生
新新新新生 2019-01-10 14:37:13
0
2
1425

Teacher, the user_id value under the comment should be $Think.session.user_id. If you do that, the user_id of the comment will become the user_id of the published article.

I think it should be in the controller First call the isLogin method in the Base controller to determine whether the user is logged in, and then perform the comment operation. Am I right to say that? Teacher.

新新新新生
新新新新生

reply all(1)
Peter-Zhu

Your analysis makes sense, you should just use a set of sessions

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template