当前位置: 首页 > news >正文

开发门户网站需要注意什么苏州网页设计多少钱

开发门户网站需要注意什么,苏州网页设计多少钱,企业网站备案不通过,深圳市工程交易服务网作者:计算机学长阿伟 开发技术:SpringBoot、SSM、Vue、MySQL、ElementUI等,“文末源码”。 开发运行环境 开发语言:Java数据库:MySQL技术:SpringBoot、Vue、Mybaits Plus、ELementUI工具:IDEA/…

作者:计算机学长阿伟
开发技术:SpringBoot、SSM、Vue、MySQL、ElementUI等,“文末源码”。

开发运行环境

  • 开发语言:Java
  • 数据库:MySQL
  • 技术:SpringBoot、Vue、Mybaits Plus、ELementUI
  • 工具:IDEA/Ecilpse、Navicat、Maven

源码下载地址:

Java项目-基于springboot框架的智能热度分析和自媒体推送平台项目实战(附源码+文档)资源-CSDN文库

一、项目简介

        该项目是一个集智能热度分析和自媒体推送功能于一体的综合性平台。平台界面简洁明了,以白色为背景,顶部配以浅蓝色横条,底部为深蓝色,营造出清晰舒适的视觉效果。导航栏上设置了多个功能选项,包括首页、文章信息、图片信息、视频信息、个人中心和后台管理,每个选项都配备有蓝色的下拉箭头,方便用户快速访问所需功能。该平台旨在通过智能分析技术,为自媒体创作者提供热度分析、内容推送等一站式服务,助力其精准定位受众,提升内容影响力。

三、系统项目部分截图

3.1后台系统部分页面效果

3.2前台系统部分页面效果

四、部分核心代码


package com.controller;import java.util.Arrays;
import java.util.Calendar;
import java.util.Date;
import java.util.Map;import javax.servlet.http.HttpServletRequest;import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;import com.annotation.IgnoreAuth;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.entity.TokenEntity;
import com.entity.UserEntity;
import com.service.TokenService;
import com.service.UserService;
import com.utils.CommonUtil;
import com.utils.MPUtil;
import com.utils.PageUtils;
import com.utils.R;
import com.utils.ValidatorUtils;/*** 登录相关*/
@RequestMapping("users")
@RestController
public class UserController{@Autowiredprivate UserService userService;@Autowiredprivate TokenService tokenService;/*** 登录*/@IgnoreAuth@PostMapping(value = "/login")public R login(String username, String password, String captcha, HttpServletRequest request) {UserEntity user = userService.selectOne(new EntityWrapper<UserEntity>().eq("username", username));if(user==null || !user.getPassword().equals(password)) {return R.error("账号或密码不正确");}String token = tokenService.generateToken(user.getId(),username, "users", user.getRole());return R.ok().put("token", token);}/*** 注册*/@IgnoreAuth@PostMapping(value = "/register")public R register(@RequestBody UserEntity user){
//    	ValidatorUtils.validateEntity(user);if(userService.selectOne(new EntityWrapper<UserEntity>().eq("username", user.getUsername())) !=null) {return R.error("用户已存在");}userService.insert(user);return R.ok();}/*** 退出*/@GetMapping(value = "logout")public R logout(HttpServletRequest request) {request.getSession().invalidate();return R.ok("退出成功");}/*** 密码重置*/@IgnoreAuth@RequestMapping(value = "/resetPass")public R resetPass(String username, HttpServletRequest request){UserEntity user = userService.selectOne(new EntityWrapper<UserEntity>().eq("username", username));if(user==null) {return R.error("账号不存在");}user.setPassword("123456");userService.update(user,null);return R.ok("密码已重置为:123456");}/*** 列表*/@RequestMapping("/page")public R page(@RequestParam Map<String, Object> params,UserEntity user){EntityWrapper<UserEntity> ew = new EntityWrapper<UserEntity>();PageUtils page = userService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.allLike(ew, user), params), params));return R.ok().put("data", page);}/*** 列表*/@RequestMapping("/list")public R list( UserEntity user){EntityWrapper<UserEntity> ew = new EntityWrapper<UserEntity>();ew.allEq(MPUtil.allEQMapPre( user, "user")); return R.ok().put("data", userService.selectListView(ew));}/*** 信息*/@RequestMapping("/info/{id}")public R info(@PathVariable("id") String id){UserEntity user = userService.selectById(id);return R.ok().put("data", user);}/*** 获取用户的session用户信息*/@RequestMapping("/session")public R getCurrUser(HttpServletRequest request){Long id = (Long)request.getSession().getAttribute("userId");UserEntity user = userService.selectById(id);return R.ok().put("data", user);}/*** 保存*/@PostMapping("/save")public R save(@RequestBody UserEntity user){
//    	ValidatorUtils.validateEntity(user);if(userService.selectOne(new EntityWrapper<UserEntity>().eq("username", user.getUsername())) !=null) {return R.error("用户已存在");}userService.insert(user);return R.ok();}/*** 修改*/@RequestMapping("/update")public R update(@RequestBody UserEntity user){
//        ValidatorUtils.validateEntity(user);UserEntity u = userService.selectOne(new EntityWrapper<UserEntity>().eq("username", user.getUsername()));if(u!=null && u.getId()!=user.getId() && u.getUsername().equals(user.getUsername())) {return R.error("用户名已存在。");}userService.updateById(user);//全部更新return R.ok();}/*** 删除*/@RequestMapping("/delete")public R delete(@RequestBody Long[] ids){userService.deleteBatchIds(Arrays.asList(ids));return R.ok();}
}

获取源码或文档

如需对应的论文或文档,以及其他定制需求,也可以下方添加联系我。

http://www.yayakq.cn/news/798461/

相关文章:

  • 英文网站建设 江门响应式网络网站源码
  • 广州英文建站公司wordpress金融插件
  • 外贸人才网招聘seo整站优化外包哪家好
  • 网站轮播广告动画怎么做的包头网站建设易通
  • 胶州做网站公司重庆网站建设qq群
  • 多语种网站网站建设 长沙开福区
  • 怎么用360做网站跳转dw网页设计代码编写
  • 微信网页版不显示二维码seo软件系统
  • 景安做网站教程互联网舆情研究中心
  • 科普网站栏目建设方案网上商城如何推广
  • 网站开发老板排名wordpress手机号码登录
  • 公司建网站多少钱一年sem优化托管公司
  • 网上注册公司流程及所需材料宁波seo搜索引擎优化
  • 惠州做网站乐云seo淘宝网站如何做虚拟
  • 湖南3合1网站建设电话企业融资的10种方法
  • 解除网站被拦截的方法网站建设怎么建好
  • 易读网站建设宁波seo软件免费课程
  • 网页制作免费网站建设成都电子商务平台网站制作报价
  • 以网站建设专业画一幅画微信对接网站可以做301跳转吗
  • 网站管理助手 phpmyadmin网站换程序301
  • 北京网站建设制作开发公司怎么建立自己的网站免费
  • 广州seo网站设计长春手机模板建站
  • 免费psd模板网站动漫网站设计
  • ps与dw怎么做网站常州网站建设智博
  • 注册一个免费的网站内容平台策划书
  • tool站长工具网站做超链接薪资多少一个月
  • 高清设计网站推荐企业网站需要多少费用
  • 企业建立网站的原因花店营销策略超市门户网站建设
  • 触屏音乐网站源码c语言做的网站
  • 禅城网站开发网站改版后的推广办法