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


边栏推荐
- [Jianzhi offer] 54 The k-th node of binary search tree
- Six years of technology iteration, challenges and exploration of Alibaba's globalization and compliance
- Oracle-数据库对象的使用
- 【剑指Offer】54. 二叉搜索树的第k大节点
- 【修复版】仿我爱看电影网站模板/海洋CMS影视系统模板
- sqlilabs less10
- 【IoT毕设.下】STM32+机智云AIoT+实验室安全监控系统
- uni-app实现广告滚动条
- Animesr: learnable degradation operator and new real world animation VSR dataset
- Play with grpc - communication between different programming languages
猜你喜欢

Build your own website (21)

Why did you win the first Taosi culture award of 20000 RMB if you are neither a top R & D expert nor a sales Daniel?

Use the npoi package of net core 6 C to read excel Pictures in xlsx cells and stored to the specified server

Today, with the popularity of micro services, how does service mesh exist?

【商业终端仿真解决方案】上海道宁为您带来Georgia介绍、试用、教程

日志中打印统计信息的方案

【Flask】Flask启程与实现一个基于Flask的最小应用程序

原来程序员搞私活这么赚钱?真的太香了

【修复版】仿我爱看电影网站模板/海洋CMS影视系统模板

Summary of leetcode's dynamic programming 5
随机推荐
Why did you win the first Taosi culture award of 20000 RMB if you are neither a top R & D expert nor a sales Daniel?
Use of Oracle database objects
Research Report on the development trend and competitive strategy of the global powder filling machine industry
Provincial election + noi Part VIII fraction theory
Basic knowledge of C language
日志中打印统计信息的方案
小程序- view中多个text换行
SWT/ANR问题--如何捕获性能的trace
Sorting learning sorting
小程序-小程序图表库(F2图表库)
GET请求如何传递数组参数
玩转MongoDB—搭建MongoDB集群
C 语言进阶
Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of its
Is the futures company found on Baidu safe? How do futures companies determine the regularity
Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of its
光環效應——誰說頭上有光的就算英雄
百度上找的期货公司安全吗?期货公司怎么确定正规
Provincial election + noi Part XI others
[flask] flask starts and implements a minimal application based on flask