当前位置:网站首页>2022-2-15 learning the imitation Niuke project - post in Section 2
2022-2-15 learning the imitation Niuke project - post in Section 2
2022-07-01 14:17:00 【weixin_ thirty-seven million six hundred and eighty-two thousan】

add to fastjson rely on 
The information , Encapsulation in json object , Back again json character string 
When there are fewer parameters 
use main Method , Test the method 
Output 
Static page test the above method 
Enter the page 

dao layer , Declare the method of inserting posts 
discusspost-mapper Add insert post , increase insert Of filed, One less id
increase Insert Method 
The business layer injects sensitive words filter


Controller
Instantiate a Post object 
complete Controller
index Of js,( Front-end , You can skip )
Test post release , Click the blue button I want to post 

According to the discussion below the course , Changing the port number can successfully post , Unknown cause .
It can also be found in the database


边栏推荐
- sqlilabs less9
- 2022. Let me take you from getting started to mastering jetpack architecture components - lifecycle
- How can we protect our passwords?
- 【剑指Offer】54. 二叉搜索树的第k大节点
- el-form-item 正则验证
- Texstudio tutorial
- Leetcode(69)——x 的平方根
- QT学习管理系统
- 百度上找的期货公司安全吗?期货公司怎么确定正规
- Applet - multiple text line breaks in view
猜你喜欢

Use the right scene, get twice the result with half the effort! Full introduction to the window query function and usage scenarios of tdengine

Basic operation of queue (implemented in C language)

App自动化测试开元平台Appium-runner

sqlilabs less13

【Flask】Flask启程与实现一个基于Flask的最小应用程序
![[IOT design. Part I] stm32+ smart cloud aiot+ laboratory security monitoring system](/img/a0/2654d43cfb6a135cc15d84447a13f9.png)
[IOT design. Part I] stm32+ smart cloud aiot+ laboratory security monitoring system

算网融合赋能行业转型,移动云点亮数智未来新路标

After being laid off for three months, the interview ran into a wall everywhere, and the mentality has begun to collapse

Play with mongodb - build a mongodb cluster

开源实习经验分享:openEuler软件包加固测试
随机推荐
QT社团管理系统
Station B was scolded on the hot search..
SQLAchemy 常用操作
【NLP】预训练模型——GPT1
队列的基本操作(C语言实现)
[IOT design. Part I] stm32+ smart cloud aiot+ laboratory security monitoring system
使用net core 6 c# 的 NPOI 包,读取excel..xlsx单元格内的图片,并存储到指定服务器
【剑指 Offer】55 - II. 平衡二叉树
sqlilabs less10
开源实习经验分享:openEuler软件包加固测试
How will the surging tide of digitalization overturn the future?
2022年PMP项目管理考试敏捷知识点(6)
Provincial election + noi Part VIII fraction theory
C language course design topic
When the main process architecture game, to prevent calls everywhere to reduce coupling, how to open the interface to others to call?
Provincial election + noi Part XI others
[sword finger offer] 55 - I. depth of binary tree
奔涌而来的数字化浪潮,将怎样颠覆未来?
sqlilabs less13
被裁三個月,面試到處碰壁,心態已經開始崩了