当前位置:网站首页>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


边栏推荐
- Use the npoi package of net core 6 C to read excel Pictures in xlsx cells and stored to the specified server
- SWT / anr problem - how to open binder trace (bindertraces) when sending anr / SWT
- Journal MySQL
- sqlilabs less-8
- sqlilabs less10
- 【NLP】预训练模型——GPT1
- [Jianzhi offer] 54 The k-th node of binary search tree
- 2022年PMP项目管理考试敏捷知识点(6)
- 被裁三个月,面试到处碰壁,心态已经开始崩了
- 开源实习经验分享:openEuler软件包加固测试
猜你喜欢

Use lambda function URL + cloudfront to realize S3 image back to source

使用net core 6 c# 的 NPOI 包,读取excel..xlsx单元格内的图片,并存储到指定服务器
![[IOT completion. Part 2] stm32+ smart cloud aiot+ laboratory security monitoring system](/img/b2/e8f81ecda6f5f4fc65501aaf9f13cf.gif)
[IOT completion. Part 2] stm32+ smart cloud aiot+ laboratory security monitoring system

户外LED显示屏应该考虑哪些问题?

This paper introduces an implementation scheme to enhance the favorite transaction code management tool in SAP GUI

微服务大行其道的今天,Service Mesh是怎样一种存在?

用栈实现队列、用队列实现栈(C语言_leetcode_232+225)

Websocket (simple experience version)

【IoT毕设.上】STM32+机智云AIoT+实验室安全监控系统

What "hard core innovations" does Intel have in the first half of 2022? Just look at this picture!
随机推荐
奔涌而来的数字化浪潮,将怎样颠覆未来?
我们该如何保护自己的密码?
SWT / anr problem - how to open binder trace (bindertraces) when sending anr / SWT
Force deduction solution summary 241- design priority for operation expression
Provincial election + noi Part XI others
建立自己的网站(21)
Use of Oracle database objects
“国防七子”经费暴增,清华足足362亿元,甩第二名101亿 |全国高校2022预算大公开...
SWT/ANR问题--如何捕获性能的trace
开源实习经验分享:openEuler软件包加固测试
Open source internship experience sharing: openeuler software package reinforcement test
Sorting learning sorting
Research Report on the development trend and competitive strategy of the global indexable milling cutter industry
[IOT design. Part I] stm32+ smart cloud aiot+ laboratory security monitoring system
2022. Let me take you from getting started to mastering jetpack architecture components - lifecycle
Six years of technology iteration, challenges and exploration of Alibaba's globalization and compliance
sqlilabs less9
That hard-working student failed the college entrance examination... Don't panic! You have another chance to counter attack!
玩转MongoDB—搭建MongoDB集群
C language course design topic