当前位置:网站首页>2022-2-15 learning the imitated Niuke project - Section 5 shows comments
2022-2-15 learning the imitated Niuke project - Section 5 shows comments
2022-06-27 14:59:00 【weixin_ thirty-seven million six hundred and eighty-two thousan】

comment surface ,entity_id representative , Comment on the post or the comments under the post or the course , Which entity of the comment 
target_id representative , Click the Comment button , The reply points to someone 
Comment Entity class 
dao layer , Two methods ,
mapper.xml Two files implement xml sentence 
The business layer 
Comments on posts , stay discussPostController Internal modification 
The original method adds Page page, This will be injected model in 
Paging information 
Post type () Comment type 


For one comment, Want to use userId And the head portrait , So get its entity 
however Comment Only in the table userId

Will need information , Put it in List


Process responses under each comment 

See if there is a goal
Below is no target 
Below is the target 

Below is the target 
Reply content 
Reply time 
To achieve , Reply to Hanjiang snow and reply sisi, according to stst.count
Dynamic splicing ( Don't know much about )
Copy the paging logic of the first page 
Below is indexl.html
Below is discuss-detail.html
Visit the home page to test , The right post is a dynamic value 
Test success 

边栏推荐
- Redis persistence
- [PHP code injection] common injectable functions of PHP language and utilization examples of PHP code injection vulnerabilities
- Acwing game 57
- Too many requests at once, and the database is in danger
- Elegant custom ThreadPoolExecutor thread pool
- LVI: feature extraction and sorting of lidar subsystem
- Li Kou's 81st biweekly match
- Pisa-Proxy 之 SQL 解析实践
- How to select cross-border e-commerce multi merchant system
- Today, Teng Xu came out with 37k during the interview. It's really a miracle. He showed me his skill
猜你喜欢
Talk about redis transactions

SQL parsing practice of Pisa proxy

Privacy computing fat offline prediction

海量数据!秒级分析!Flink+Doris构建实时数仓方案

Too many requests at once, and the database is in danger
![[business security 03] password retrieval business security and interface parameter account modification examples (based on the metinfov4.0 platform)](/img/29/73c381f14a09ecaf36a98d67d76720.png)
[business security 03] password retrieval business security and interface parameter account modification examples (based on the metinfov4.0 platform)

Naacl 2022 | TAMT: search the transportable Bert subnet through downstream task independent mask training

Synchronized and lock escalation

What is the London Silver unit

基于 Nebula Graph 构建百亿关系知识图谱实践
随机推荐
Principle Comparison and analysis of mechanical hard disk and SSD solid state disk
Openssf security plan: SBOM will drive software supply chain security
Computer screen splitting method
ThreadLocal之强、弱、软、虚引用
Volatile and JMM
Web chat room system based on SSM
CCID Consulting released the database Market Research Report on key application fields during the "14th five year plan" (attached with download)
PCL Library - error reporting solution: cmake and Anaconda conflicts during installation
隐私计算FATE-离线预测
Is flutter easy to learn? How to learn? The most complete introduction and actual combat of flutter in history. Take it away without thanks~
Getting to know cloud native security for the first time: the best guarantee in the cloud Era
Strong, weak, soft and virtual references of ThreadLocal
my. INI file configuration
AbortController的使用
[business security-02] business data security test and example of commodity order quantity tampering
[high concurrency] deeply analyze the callable interface
[microservices sentinel] hotspot rules | authorization rules | cluster flow control | machine list
Acwing game 57
Resolve activity startup - lifecycle Perspective
Redis master-slave replication, sentinel mode, cluster cluster