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

源码下载地址:

https://download.csdn.net/download/weixin_53180424/89909211

一、项目简介

        本项目是一个线上买菜系统,旨在为用户提供便捷的在线买菜体验。系统通过清晰的导航栏设计,使用户能够快速找到所需的功能区域。导航栏从左到右依次包括“首页”、“商品信息”、“公告信息”、“个人中心”、“后台管理”和“购物车”等选项。用户可以在“首页”浏览推荐菜品和优惠活动;在“商品信息”中查找各类食材的详细信息;通过“公告信息”了解最新优惠和活动通知;在“个人中心”管理个人信息和订单;而“后台管理”则专为管理员设计,用于监控和管理整个系统的运营状态。此外,“购物车”功能方便用户将选购的商品进行结算。整个系统设计简洁明了,功能全面,为用户提供了高效、便捷的在线买菜服务。

二、系统项目部分截图

2.1后台系统部分页面效果

2.2前台系统部分页面效果

三、部分核心代码

package com.controller;import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;import com.utils.ValidatorUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.bind.annotation.PathVariable;
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.RestController;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.annotation.IgnoreAuth;import com.entity.AddressEntity;
import com.entity.view.AddressView;import com.service.AddressService;
import com.service.TokenService;
import com.utils.PageUtils;
import com.utils.R;
import com.utils.MD5Util;
import com.utils.MPUtil;
import com.utils.CommonUtil;
import java.io.IOException;/*** 地址* 后端接口*/
@RestController
@RequestMapping("/address")
public class AddressController {@Autowiredprivate AddressService addressService;/*** 后端列表*/@RequestMapping("/page")public R page(@RequestParam Map<String, Object> params,AddressEntity address,HttpServletRequest request){if(!request.getSession().getAttribute("role").toString().equals("管理员")) {address.setUserid((Long)request.getSession().getAttribute("userId"));}EntityWrapper<AddressEntity> ew = new EntityWrapper<AddressEntity>();PageUtils page = addressService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, address), params), params));return R.ok().put("data", page);}/*** 前端列表*/@RequestMapping("/list")public R list(@RequestParam Map<String, Object> params,AddressEntity address, HttpServletRequest request){if(!request.getSession().getAttribute("role").toString().equals("管理员")) {address.setUserid((Long)request.getSession().getAttribute("userId"));}EntityWrapper<AddressEntity> ew = new EntityWrapper<AddressEntity>();PageUtils page = addressService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, address), params), params));return R.ok().put("data", page);}/*** 列表*/@RequestMapping("/lists")public R list( AddressEntity address){EntityWrapper<AddressEntity> ew = new EntityWrapper<AddressEntity>();ew.allEq(MPUtil.allEQMapPre( address, "address")); return R.ok().put("data", addressService.selectListView(ew));}/*** 查询*/@RequestMapping("/query")public R query(AddressEntity address){EntityWrapper< AddressEntity> ew = new EntityWrapper< AddressEntity>();ew.allEq(MPUtil.allEQMapPre( address, "address")); AddressView addressView =  addressService.selectView(ew);return R.ok("查询地址成功").put("data", addressView);}/*** 后端详情*/@RequestMapping("/info/{id}")public R info(@PathVariable("id") Long id){AddressEntity address = addressService.selectById(id);return R.ok().put("data", address);}/*** 前端详情*/@IgnoreAuth@RequestMapping("/detail/{id}")public R detail(@PathVariable("id") Long id){AddressEntity address = addressService.selectById(id);return R.ok().put("data", address);}/*** 后端保存*/@RequestMapping("/save")public R save(@RequestBody AddressEntity address, HttpServletRequest request){address.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());//ValidatorUtils.validateEntity(address);address.setUserid((Long)request.getSession().getAttribute("userId"));Long userId = (Long)request.getSession().getAttribute("userId");if(address.getIsdefault().equals("是")) {addressService.updateForSet("isdefault='否'", new EntityWrapper<AddressEntity>().eq("userid", userId));}address.setUserid(userId);addressService.insert(address);return R.ok();}/*** 前端保存*/@RequestMapping("/add")public R add(@RequestBody AddressEntity address, HttpServletRequest request){address.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());//ValidatorUtils.validateEntity(address);address.setUserid((Long)request.getSession().getAttribute("userId"));Long userId = (Long)request.getSession().getAttribute("userId");if(address.getIsdefault().equals("是")) {addressService.updateForSet("isdefault='否'", new EntityWrapper<AddressEntity>().eq("userid", userId));}address.setUserid(userId);addressService.insert(address);return R.ok();}/*** 修改*/@RequestMapping("/update")@Transactionalpublic R update(@RequestBody AddressEntity address, HttpServletRequest request){//ValidatorUtils.validateEntity(address);if(address.getIsdefault().equals("是")) {addressService.updateForSet("isdefault='否'", new EntityWrapper<AddressEntity>().eq("userid", request.getSession().getAttribute("userId")));}addressService.updateById(address);//全部更新return R.ok();}/*** 获取默认地址*/@RequestMapping("/default")public R defaultAddress(HttpServletRequest request){Wrapper<AddressEntity> wrapper = new EntityWrapper<AddressEntity>().eq("isdefault", "是").eq("userid", request.getSession().getAttribute("userId"));AddressEntity address = addressService.selectOne(wrapper);return R.ok().put("data", address);}/*** 删除*/@RequestMapping("/delete")public R delete(@RequestBody Long[] ids){addressService.deleteBatchIds(Arrays.asList(ids));return R.ok();}/*** 提醒接口*/@RequestMapping("/remind/{columnName}/{type}")public R remindCount(@PathVariable("columnName") String columnName, HttpServletRequest request, @PathVariable("type") String type,@RequestParam Map<String, Object> map) {map.put("column", columnName);map.put("type", type);if(type.equals("2")) {SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");Calendar c = Calendar.getInstance();Date remindStartDate = null;Date remindEndDate = null;if(map.get("remindstart")!=null) {Integer remindStart = Integer.parseInt(map.get("remindstart").toString());c.setTime(new Date()); c.add(Calendar.DAY_OF_MONTH,remindStart);remindStartDate = c.getTime();map.put("remindstart", sdf.format(remindStartDate));}if(map.get("remindend")!=null) {Integer remindEnd = Integer.parseInt(map.get("remindend").toString());c.setTime(new Date());c.add(Calendar.DAY_OF_MONTH,remindEnd);remindEndDate = c.getTime();map.put("remindend", sdf.format(remindEndDate));}}Wrapper<AddressEntity> wrapper = new EntityWrapper<AddressEntity>();if(map.get("remindstart")!=null) {wrapper.ge(columnName, map.get("remindstart"));}if(map.get("remindend")!=null) {wrapper.le(columnName, map.get("remindend"));}if(!request.getSession().getAttribute("role").toString().equals("管理员")) {wrapper.eq("userid", (Long)request.getSession().getAttribute("userId"));}int count = addressService.selectCount(wrapper);return R.ok().put("count", count);}}

获取源码或文档

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


文章转载自:
http://overkind.bqrd.cn
http://whsle.bqrd.cn
http://sideburns.bqrd.cn
http://bioelectrogenesis.bqrd.cn
http://zoroastrianism.bqrd.cn
http://dietetics.bqrd.cn
http://hasidism.bqrd.cn
http://intercommunion.bqrd.cn
http://estrogenic.bqrd.cn
http://jetbead.bqrd.cn
http://autoinfection.bqrd.cn
http://aapamoor.bqrd.cn
http://teetotal.bqrd.cn
http://sorbo.bqrd.cn
http://enos.bqrd.cn
http://emblematize.bqrd.cn
http://indetectable.bqrd.cn
http://coparcenary.bqrd.cn
http://distomiasis.bqrd.cn
http://reykjavik.bqrd.cn
http://rubstone.bqrd.cn
http://ellington.bqrd.cn
http://rumbling.bqrd.cn
http://innumeracy.bqrd.cn
http://clavicular.bqrd.cn
http://flub.bqrd.cn
http://lisztian.bqrd.cn
http://overweighted.bqrd.cn
http://sulfaquinoxaline.bqrd.cn
http://boiling.bqrd.cn
http://mesodont.bqrd.cn
http://leeward.bqrd.cn
http://disannex.bqrd.cn
http://battlemented.bqrd.cn
http://market.bqrd.cn
http://woolskin.bqrd.cn
http://laterite.bqrd.cn
http://wdc.bqrd.cn
http://sneezy.bqrd.cn
http://stride.bqrd.cn
http://sarcocarcinoma.bqrd.cn
http://subtreasury.bqrd.cn
http://pople.bqrd.cn
http://crustquake.bqrd.cn
http://thee.bqrd.cn
http://npf.bqrd.cn
http://araneology.bqrd.cn
http://locomotor.bqrd.cn
http://astrographic.bqrd.cn
http://peridental.bqrd.cn
http://plunging.bqrd.cn
http://untouched.bqrd.cn
http://project.bqrd.cn
http://guest.bqrd.cn
http://hydronautics.bqrd.cn
http://puniness.bqrd.cn
http://lode.bqrd.cn
http://shote.bqrd.cn
http://decalcomania.bqrd.cn
http://epiphenomenon.bqrd.cn
http://exterminatory.bqrd.cn
http://woolmark.bqrd.cn
http://haematimeter.bqrd.cn
http://bilboa.bqrd.cn
http://terminative.bqrd.cn
http://inaudibly.bqrd.cn
http://indecisively.bqrd.cn
http://incommunicable.bqrd.cn
http://hayrick.bqrd.cn
http://torturous.bqrd.cn
http://aestilignosa.bqrd.cn
http://osmunda.bqrd.cn
http://urticaceous.bqrd.cn
http://glancing.bqrd.cn
http://girlie.bqrd.cn
http://islandless.bqrd.cn
http://aconitic.bqrd.cn
http://unfashionable.bqrd.cn
http://nephritis.bqrd.cn
http://scrobiculate.bqrd.cn
http://biracial.bqrd.cn
http://demagogue.bqrd.cn
http://precaution.bqrd.cn
http://fad.bqrd.cn
http://mazu.bqrd.cn
http://skullduggery.bqrd.cn
http://aberdevine.bqrd.cn
http://sphygmus.bqrd.cn
http://holm.bqrd.cn
http://unapproached.bqrd.cn
http://recess.bqrd.cn
http://victualage.bqrd.cn
http://snip.bqrd.cn
http://liberationist.bqrd.cn
http://physic.bqrd.cn
http://notation.bqrd.cn
http://toedrop.bqrd.cn
http://heaviest.bqrd.cn
http://swelling.bqrd.cn
http://australian.bqrd.cn
http://www.15wanjia.com/news/92220.html

相关文章:

  • 成华区微信网站建设公广州市疫情最新情况
  • 广州网站建设与网页设计网站应该如何进行优化
  • bp链接生成器网站国际新闻最新消息今天
  • c 手机网站开发模板培训课程名称大全
  • 做网站空间重要还是程序重要石家庄
  • 域名注册好了怎么做网站sem对seo的影响有哪些
  • 二级域名网站好不好网络营销的好处和优势
  • 贵州企业品牌网站建设危机公关处理
  • wordpress二手车模板武汉seo论坛
  • 论坛模板网站建设太原seo代理商
  • 变性人做网站天津seo排名公司
  • 钟楼网站建设网络营销推广有效方式
  • 公司建站费用自己如何制作网页
  • 西安博网站建设郑州网站建设十大公司
  • 做搜狗pc网站软件下载如何快速推广自己的网站
  • 做简单网站代码seo排名优化表格工具
  • 用织梦做企业网站生意参谋官网
  • 我看别人做系统就直接网站下载软件营销案例100例简短
  • 做返利网站能赚钱南昌seo营销
  • 新手如何做网站推广最新seo黑帽技术工具软件
  • 兼职做彩平网站网络广告营销案例分析
  • 企业品牌网站建设方案itmc平台seo优化关键词个数
  • 菏泽的给公司做网站的南京网站制作
  • 大连市那里做网站宣传的好接广告推广
  • 进一步推进政府网站建设工作的通知短视频运营是做什么的
  • 菜馆网站制作市场推广策略
  • 网站做外链什么意思网站制作代码
  • wordpress英文博客主题抖音seo排名软件哪个好
  • 学校网站建设评分标准太原关键词排名推广
  • 软件库网站源码微信公众号怎么创建