SpringBoot实现期刊稿件处理系统

1.技术介绍
SpringBoot+mysql+html+js+css
开发工具:eclipse或IDEA
2.主要功能说明:
1)用户
注册、登录、个人信息修改、新增稿件、查看稿件、编辑稿件、下载稿件
2)管理员
敏感词管理、稿件管理、用户管理、管理员管理
3.部分代码展示

```java
package com.dbsun.controller;
import com.dbsun.base.BaseController;
import com.dbsun.common.ServerResponse;
import com.dbsun.entity.system.Page;
import com.dbsun.entity.system.PageData;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import net.sf.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import java.util.List;
import com.dbsun.service.WordsManageService;
@Api(value = "words_manage", description = "敏感词管理", tags = "敏感词管理")
@Controller
@RequestMapping("/words_manage")
public class WordsManageController extends BaseController {
@Autowired
private WordsManageService _service;
/** 获取敏感词管理页面 */
@RequestMapping(value = "/WordsManage", method = RequestMethod.GET)
@ApiOperation(value = "获取敏感词管理页面")
public String goWordsManagePage() { return ""; }
/** 添加敏感词管理 (重复数据不能添加) */
@RequestMapping(value = "/addWordsManageNo", method = RequestMethod.GET)
@ResponseBody
@ApiOperation(value = "添加敏感词管理(重复数据不能添加)", notes = "添加不为空的内容")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", name = "words", value = "敏感词", required = false, dataType = "varchar"),
})
public ServerResponse<String> addWordsManageNo() {
PageData pd = getPageData();
return _service.addWordsManageNo(this.putUserPd(pd)); }
/** 添加敏感词管理 (重复数据可以添加) */
@RequestMapping(value = "/addWordsManageAll", method = RequestMethod.GET)
@ResponseBody
@ApiOperation(value = "添加敏感词管理(重复数据可以添加)", notes = "添加不为空的内容")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", name = "words", value = "敏感词", required = false, dataType = "varchar"),
})
public ServerResponse<String> addWordsManageAll() {
PageData pd = getPageData();
return _service.addWordsManageAll(this.putUserPd(pd));}
/** 删除敏感词管理 */
@RequestMapping(value = "/deleteWordsManage", method = RequestMethod.GET)
@ResponseBody
@ApiOperation(value = "删除敏感词管理", notes = "删除不为空的内容")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", name = "id", value = "xxx", required = true, dataType = "int"),
})
public ServerResponse<String> deleteWordsManage() {
PageData pd = getPageData();
return _service.deleteWordsManage(pd);}
/** 根据id更新数据 */
@RequestMapping(value = "/updateWordsManage", method = RequestMethod.GET)
@ResponseBody
@ApiOperation(value = "更新敏感词管理", notes = "更新不为空的内容")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", name = "id", value = "序号", required = true, dataType = "int"),
@ApiImplicitParam(paramType = "query", name = "words", value = "敏感词", required = false, dataType = "varchar"),
})
public ServerResponse<String> updateWordsManage() {
PageData pd = getPageData();
return _service.updateWordsManage(pd);}
/** 获取敏感词管理数据(非分页,搜索功能) */
@RequestMapping(value = "/queryWordsManageKey", method = RequestMethod.GET)
@ResponseBody
@ApiOperation(value = "获取敏感词管理数据(非分页,搜索功能)")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", name = "id", value = "序号", required = false, dataType = "int"),
@ApiImplicitParam(paramType = "query", name = "words", value = "敏感词", required = false, dataType = "varchar"),
@ApiImplicitParam(paramType = "query", name = "create_time", value = "创建时间", required = false, dataType = "varchar"),
})
public ServerResponse<List<PageData>> queryWordsManageKey() {
PageData pd = this.getPageData();
return _service.queryWordsManageKey(pd);}
/** 获取敏感词管理列表数据 */
@RequestMapping(value = "/queryPageWordsManageKeyList", method = RequestMethod.GET)
@ResponseBody
@ApiOperation(value = "获取敏感词管理列表数据", notes = "分页")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", name = "showCount", value = "每页记录数", dataType = "String"),
@ApiImplicitParam(paramType = "query", name = "currentPage", value = "当前页", required = true, dataType = "String"),
})
public JSONObject queryPageWordsManageKeyList() {
PageData pd = getPageData();
Page page = getPage();
page.setPd(pd);
List<PageData> systemUserList = null;
try {
systemUserList = _service.queryPageWordsManageKeyList(page);
} catch (Exception e) {
e.printStackTrace();}
return viewReturnPageData(page, systemUserList);
}
}

```
4.系统演示地址
链接:https://pan.baidu.com/s/1RCM81zpPBlLTMtHZ1obO5w
提取码:xakp

posted @ 2022-06-28 00:15  小草1234  阅读(81)  评论(0编辑  收藏  举报