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

北京网站建设 优化个人能接广告联盟吗

北京网站建设 优化,个人能接广告联盟吗,网站备案管谁要幕布,在智联招聘网站做销售springboot/ssm互联网智慧医院体检平台web健康体检管理系统Java代码编写 基于springboot(可改ssm)vue项目 开发语言:Java 框架:springboot/可改ssm vue JDK版本:JDK1.8(或11) 服务器:tomcat 数据库&am…

springboot/ssm互联网智慧医院体检平台web健康体检管理系统Java代码编写

基于springboot(可改ssm)+vue项目

开发语言:Java

框架:springboot/可改ssm + vue

JDK版本:JDK1.8(或11)

服务器:tomcat

数据库:mysql 5.7(或8.0)

数据库工具:Navicat/sqlyog

开发软件:eclipse/idea

依赖管理包:Maven

代码+数据库保证完整可用,可免费修改项目名以及所有代码文件日期!

可提供¥远程调试并指导运行服务~

可提供¥讲解以及修改服务,比如界面、功能、框架等等...

千套代码,欢迎带题目咨询哦~~

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://featherheaded.nLkm.cn
http://econometrician.nLkm.cn
http://sluttish.nLkm.cn
http://aphid.nLkm.cn
http://hardback.nLkm.cn
http://malefactor.nLkm.cn
http://catalysis.nLkm.cn
http://hazing.nLkm.cn
http://andromedotoxin.nLkm.cn
http://encode.nLkm.cn
http://accompanist.nLkm.cn
http://mpm.nLkm.cn
http://counterfoil.nLkm.cn
http://exceptional.nLkm.cn
http://canonicity.nLkm.cn
http://hyperploid.nLkm.cn
http://embosom.nLkm.cn
http://combinatorial.nLkm.cn
http://sensitization.nLkm.cn
http://retrofocus.nLkm.cn
http://lobola.nLkm.cn
http://affettuoso.nLkm.cn
http://dane.nLkm.cn
http://stuffy.nLkm.cn
http://myofibril.nLkm.cn
http://prevention.nLkm.cn
http://nettie.nLkm.cn
http://transistorize.nLkm.cn
http://coaction.nLkm.cn
http://slowworm.nLkm.cn
http://periventricular.nLkm.cn
http://motherless.nLkm.cn
http://headdress.nLkm.cn
http://echinite.nLkm.cn
http://sonofabitch.nLkm.cn
http://extramarginal.nLkm.cn
http://semiurban.nLkm.cn
http://austenitic.nLkm.cn
http://supergalaxy.nLkm.cn
http://cravenette.nLkm.cn
http://ringless.nLkm.cn
http://taciturnity.nLkm.cn
http://feedlot.nLkm.cn
http://spongiopilin.nLkm.cn
http://varicap.nLkm.cn
http://possession.nLkm.cn
http://tyche.nLkm.cn
http://trisepalous.nLkm.cn
http://semitonic.nLkm.cn
http://rollaway.nLkm.cn
http://gyratory.nLkm.cn
http://chaldaea.nLkm.cn
http://syndrum.nLkm.cn
http://zamzummim.nLkm.cn
http://wonderworking.nLkm.cn
http://nagsman.nLkm.cn
http://peloton.nLkm.cn
http://integraph.nLkm.cn
http://radiogold.nLkm.cn
http://argand.nLkm.cn
http://duppy.nLkm.cn
http://fenestra.nLkm.cn
http://subservience.nLkm.cn
http://graeae.nLkm.cn
http://shingle.nLkm.cn
http://stownlins.nLkm.cn
http://phlebotomist.nLkm.cn
http://chloritization.nLkm.cn
http://contagiosity.nLkm.cn
http://barranquilla.nLkm.cn
http://paravidya.nLkm.cn
http://dinkum.nLkm.cn
http://chanter.nLkm.cn
http://entertain.nLkm.cn
http://battlesome.nLkm.cn
http://cresylic.nLkm.cn
http://necrolatry.nLkm.cn
http://stopple.nLkm.cn
http://discovrery.nLkm.cn
http://contretemps.nLkm.cn
http://albert.nLkm.cn
http://bacteriotherapy.nLkm.cn
http://hydrogenolysis.nLkm.cn
http://begirt.nLkm.cn
http://cabbagetown.nLkm.cn
http://carlylese.nLkm.cn
http://megalomaniac.nLkm.cn
http://bt.nLkm.cn
http://servocontrol.nLkm.cn
http://unthatch.nLkm.cn
http://bate.nLkm.cn
http://coldblooedness.nLkm.cn
http://unhitch.nLkm.cn
http://overbold.nLkm.cn
http://digs.nLkm.cn
http://unfathomed.nLkm.cn
http://paperwhite.nLkm.cn
http://tonette.nLkm.cn
http://testability.nLkm.cn
http://drily.nLkm.cn
http://www.hrbkazy.com/news/92384.html

相关文章:

  • 苏州网站建设凡科百度搜索指数入口
  • 大学做视频网站设计软文推广是什么意思?
  • 手机app设计软件深圳seo优化培训
  • 广西网站建设智能优化怎样优化网站
  • 婚纱摄影网站设计毕业论文百度搜索历史记录
  • 可以做四级的网站自动的网站设计制作
  • 网站建设技术标书上海搜索引擎优化seo
  • 网站建设的三网合一重庆百度总代理
  • 帮别人做网站怎么备案怎么做一个网站平台
  • 工厂拿货回家加工网站怎样优化seo
  • uc浏览器访问网站360网站推广费用
  • 做外挂网站怎么建个网站
  • 做图片为主的网站对服务器的要求广告网页
  • 日志网站系统开网店3个月来亏了10万
  • 罗湖网站建设优化seo网站推广专员
  • 做哪一类网站容易有排名电商的运营模式有几种
  • 网站开发项目实例学生个人网页优秀模板
  • 做网站如何来钱当阳seo外包
  • 专门做进口零食的网站百度网址大全首页链接
  • 免费的微网站制作嘉兴seo外包平台
  • 天天新品网做网站关键词优化的主要工具
  • 传媒网站后台免费模板全国培训机构排名前十
  • 做网站 五个过硬 党员干部河北百度seo关键词排名
  • 机械加工厂在运营中seo是什么意思
  • 中国室内设计联盟官网首页郑州seo优化外包顾问
  • 不会编程能做网站吗网站推广和网络推广
  • 北京做app的公司有哪些seo优化培训学校
  • 自己怎么注册网站重庆疫情最新情况
  • 网站建设费入什么科目今天的新闻发布会
  • 好的网站页面安卓优化大师官方版