项目编号:BS-SC-001

本项目基于JSP+SERVLET+Durid连接池进行开发实现,数据库采用MYSQL数据库,开发工具为IDEA或ECLIPSE,前端用采用BootStrap开发实现。系统采用三层架构设计,MVC设计模式。系统功能完整,页面简洁大方,维护方便,适合做毕业设计使用。

具体系统功能展示如下:

前台页面功能:

分类显示

餐品详情

添加购物车

个人订单管理

个人资料修改

系统留言

最近浏览功能

后台管理功能:

管理员登陆:  admin / admin

用户管理

分类管理

餐品管理

订单管理

留言管理

新闻管理

本系统是一款优秀的毕业设计系统,完美的实现了基于餐饮业务的网上订餐流程,功能强大,运行稳定,结构清晰,便于修改,适合做毕业设计使用。

部分核心代码:

package cn.jbit.easybuy.web;import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;import cn.jbit.easybuy.biz.FacilityService;
import cn.jbit.easybuy.biz.OrderService;
import cn.jbit.easybuy.biz.ProductService;
import cn.jbit.easybuy.biz.impl.FacilityServiceImpl;
import cn.jbit.easybuy.biz.impl.OrderServiceImpl;
import cn.jbit.easybuy.biz.impl.ProductServiceImpl;
import cn.jbit.easybuy.entity.News;
import cn.jbit.easybuy.entity.Pager;
import cn.jbit.easybuy.entity.Product;
import cn.jbit.easybuy.entity.ProductCategory;
import cn.jbit.easybuy.entity.ShoppingCart;
import cn.jbit.easybuy.entity.User;
import cn.jbit.easybuy.util.ActionResult;
import cn.jbit.easybuy.util.Validator;public class CartServlet extends HttpServlet {protected Map<String, ActionResult> viewMapping = new HashMap<String, ActionResult>();private ProductService productService;private FacilityService facilityService;private OrderService orderService;public void init() throws ServletException {productService = new ProductServiceImpl();facilityService = new FacilityServiceImpl();orderService = new OrderServiceImpl();}protected void doGet(HttpServletRequest req, HttpServletResponse resp)throws ServletException, IOException {doPost(req, resp);}protected void doPost(HttpServletRequest req, HttpServletResponse resp)throws ServletException, IOException {req.setCharacterEncoding("utf-8");createViewMapping();String actionIndicator = req.getParameter("action");String result = "";if (actionIndicator == null)actionIndicator = "list";if ("list".endsWith(actionIndicator)) {result = list(req);} else if ("add".endsWith(actionIndicator)) {result = add(req);} else if ("mod".endsWith(actionIndicator)) {result = mod(req);} else if ("remove".endsWith(actionIndicator)) {result = remove(req);} else if ("pay".endsWith(actionIndicator)) {result = pay(req);}toView(req, resp, result);}private String pay(HttpServletRequest request) {ShoppingCart cart = getCartFromSession(request);User user = getUserFromSession(request);if(user==null)return "login";orderService.payShoppingCart(cart, user);removeCartFromSession(request);return "paySuccess";}private void removeCartFromSession(HttpServletRequest request) {request.getSession().removeAttribute("cart");}private User getUserFromSession(HttpServletRequest request) {HttpSession session = request.getSession();return (User) session.getAttribute("loginUser");}private String add(HttpServletRequest request) {String id = request.getParameter("entityId");String quantityStr = request.getParameter("quantity");long quantity = 1;if (!Validator.isEmpty(quantityStr))quantity = Long.parseLong(quantityStr);Product product = productService.findById(id);ShoppingCart cart = getCartFromSession(request);cart.addItem(product, quantity);return "addSuccess";}private String mod(HttpServletRequest request) {String id = request.getParameter("entityId");String quantityStr = request.getParameter("quantity");long quantity = 1;if (!Validator.isEmpty(quantityStr))quantity = Long.parseLong(quantityStr);String indexStr = request.getParameter("index");ShoppingCart cart = getCartFromSession(request);cart.modifyQuantity(Integer.parseInt(indexStr), quantity);return "modSuccess";}private String remove(HttpServletRequest request) {String id = request.getParameter("entityId");String quantityStr = request.getParameter("quantity");long quantity = 1;if (!Validator.isEmpty(quantityStr))quantity = Long.parseLong(quantityStr);String indexStr = request.getParameter("index");ShoppingCart cart = getCartFromSession(request);cart.getItems().remove(Integer.parseInt(indexStr));return "removeSuccess";}private ShoppingCart getCartFromSession(HttpServletRequest request) {HttpSession session = request.getSession();ShoppingCart cart = (ShoppingCart) session.getAttribute("cart");if (cart == null) {cart = new ShoppingCart();session.setAttribute("cart", cart);}//取出当前用户的订单列表return cart;}private String list(HttpServletRequest request) {getCartFromSession(request);return "listSuccess";}private void prepareCategories(HttpServletRequest request) {List<ProductCategory> categories = productService.getProductCategories(null);request.setAttribute("categories", categories);}private void prepareNews(HttpServletRequest request) {List<News> allNews = facilityService.getAllNews(new Pager(10, 1));request.setAttribute("allNews", allNews);}protected void createViewMapping() {this.addMapping("listSuccess", "shopping.jsp");this.addMapping("paySuccess", "shopping-result.jsp");this.addMapping("addSuccess", "Cart", true);this.addMapping("removeSuccess", "Cart", true);this.addMapping("modSuccess", "Cart", true);this.addMapping("login", "login.jsp");}private void toView(HttpServletRequest req, HttpServletResponse resp,String result) throws IOException, ServletException {ActionResult dest = this.viewMapping.get(result);if (dest.isRedirect()) {resp.sendRedirect(dest.getViewName());} else {req.getRequestDispatcher(dest.getViewName()).forward(req, resp);}}protected void addMapping(String viewName, String url) {this.viewMapping.put(viewName, new ActionResult(url));}protected void addMapping(String viewName, String url, boolean isDirect) {this.viewMapping.put(viewName, new ActionResult(url, isDirect));}
}
package cn.jbit.easybuy.web;import java.io.IOException;
import java.util.List;import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;import cn.jbit.easybuy.biz.ProductService;
import cn.jbit.easybuy.biz.impl.ProductServiceImpl;
import cn.jbit.easybuy.entity.ProductCategory;
import cn.jbit.easybuy.util.ActionResult;
import cn.jbit.easybuy.util.Validator;public class CategoryServlet extends HttpServlet {private ProductService productService;public void init() throws ServletException {productService = new ProductServiceImpl();}protected void doGet(HttpServletRequest req, HttpServletResponse resp)throws ServletException, IOException {doPost(req, resp);}protected void doPost(HttpServletRequest req, HttpServletResponse resp)throws ServletException, IOException {req.setCharacterEncoding("utf-8");String actionIndicator = req.getParameter("action");ActionResult result = new ActionResult("error");Validator validator = new Validator(Validator.toSingleParameters(req));if (actionIndicator == null)actionIndicator = "list";if ("read".endsWith(actionIndicator)) {result = read(req, validator);} else if ("list".endsWith(actionIndicator)) {result = list(req, validator);} else if ("create".endsWith(actionIndicator)) {result = create(req, validator);} else if ("delete".endsWith(actionIndicator)) {result = delete(req, validator);} else if ("save".endsWith(actionIndicator)) {boolean isEdit = true;String editIndicator = req.getParameter("entityId");if (Validator.isEmpty(editIndicator))isEdit = false;result = save(req, validator, isEdit);}if (!validator.hasErrors() && result.isRedirect()) {resp.sendRedirect(result.getViewName());} else {req.setAttribute("errors", validator.getErrors());req.getRequestDispatcher(result.getViewName()).forward(req, resp);}}public ActionResult read(HttpServletRequest request, Validator validator) {ProductCategory category = productService.findCategoryById(request.getParameter("entityId"));pupulateRequest(request, category);List<ProductCategory> categories = productService.getRootCategories();request.setAttribute("categories", categories);return new ActionResult("productClass-modify.jsp");}public ActionResult save(HttpServletRequest request, Validator validator,boolean isEdit) {String entityId = request.getParameter("entityId");checkInputErrors(request, validator);saveToDatabase(request, validator, isEdit);return new ActionResult("Category", true);}public ActionResult create(HttpServletRequest request, Validator validator) {List<ProductCategory> categories = productService.getRootCategories();request.setAttribute("categories", categories);request.setAttribute("parentId", 0);return new ActionResult("productClass-modify.jsp");}public ActionResult delete(HttpServletRequest request, Validator validator) {productService.deleteCategory(request.getParameter("entityId"));return new ActionResult("Category", true);}public ActionResult list(HttpServletRequest request, Validator validator) {List<ProductCategory> categories = productService.getProductCategories(null);request.setAttribute("categories", categories);return new ActionResult("productClass.jsp");}private void saveToDatabase(HttpServletRequest request,Validator validator, boolean isEdit) {if (!validator.hasErrors()) {ProductCategory productCategory;if (!isEdit) {productCategory = new ProductCategory();populateEntity(request, productCategory);productCategory.setParentId(Long.parseLong(request.getParameter("parentId")));productService.saveCategory(productCategory);} else {productCategory = productService.findCategoryById(request.getParameter("entityId"));Long parentId = Long.parseLong(request.getParameter("parentId"));populateEntity(request, productCategory);if (parentId == 0) {if (productCategory.getId().equals(productCategory.getParentId())) {// 说明是一级分类,父分类不能修改,只能改名字productService.updateCategoryName(productCategory);} else {// 二级分类修改为一级分类了,需要额外更新:// Product原先属于该二级分类的,全部更新一级为它,二级为空productCategory.setParentId(productCategory.getId());productService.updateCategory(productCategory,"Level2To1");}} else {if (!parentId.equals(productCategory.getParentId())) {// 二级分类修改了父分类,需要额外更新:// Product原先属于该二级分类的,全部更新一级为新的父分类productCategory.setParentId(parentId);productService.updateCategory(productCategory,"ModifyParent");} else {// 二级分类修改了名字productService.updateCategoryName(productCategory);}}}}}private void pupulateRequest(HttpServletRequest request,ProductCategory productCategory) {request.setAttribute("entityId", Long.toString(productCategory.getId()));request.setAttribute("name", productCategory.getName());request.setAttribute("parentId", (productCategory.getParentId().equals(productCategory.getId())) ? 0 : productCategory.getParentId());}private void checkInputErrors(HttpServletRequest request,Validator validator) {validator.checkRequiredError(new String[] { "name" });}private void populateEntity(HttpServletRequest request,ProductCategory productCategory) {productCategory.setName(request.getParameter("name"));}
}

package cn.jbit.easybuy.web;import java.io.IOException;
import java.util.Date;
import java.util.List;import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;import cn.jbit.easybuy.biz.FacilityService;
import cn.jbit.easybuy.biz.ProductService;
import cn.jbit.easybuy.biz.impl.FacilityServiceImpl;
import cn.jbit.easybuy.biz.impl.ProductServiceImpl;
import cn.jbit.easybuy.entity.Comment;
import cn.jbit.easybuy.entity.Pager;
import cn.jbit.easybuy.entity.ProductCategory;
import cn.jbit.easybuy.util.ActionResult;
import cn.jbit.easybuy.util.Validator;public class CommentServlet extends HttpServlet {private FacilityService facilityService;private ProductService productService;public void init() throws ServletException {this.facilityService = new FacilityServiceImpl();this.productService = new ProductServiceImpl();}protected void doGet(HttpServletRequest req, HttpServletResponse resp)throws ServletException, IOException {doPost(req, resp);}protected void doPost(HttpServletRequest req, HttpServletResponse resp)throws ServletException, IOException {req.setCharacterEncoding("utf-8");String actionIndicator = req.getParameter("action");ActionResult result = new ActionResult("error");Validator validator = new Validator(Validator.toSingleParameters(req));if (actionIndicator == null)actionIndicator = "list";if ("read".endsWith(actionIndicator)) {result = read(req, validator);} else if ("list".endsWith(actionIndicator)) {result = list(req, validator);} else if ("delete".endsWith(actionIndicator)) {result = delete(req, validator);} else if ("save".endsWith(actionIndicator)) {boolean isEdit = true;String editIndicator = req.getParameter("entityId");if (Validator.isEmpty(editIndicator))isEdit = false;result = save(req, validator, isEdit);}if (!validator.hasErrors() && result.isRedirect()) {resp.sendRedirect(result.getViewName());} else {req.setAttribute("errors", validator.getErrors());req.getRequestDispatcher(result.getViewName()).forward(req, resp);}}public ActionResult read(HttpServletRequest request, Validator validator) {Comment comment = facilityService.findCommentById(request.getParameter("entityId"));pupulateRequest(request, comment);return new ActionResult("guestbook-modify.jsp");}public ActionResult save(HttpServletRequest request, Validator validator,boolean isEdit) {checkInputErrors(request, validator);saveToDatabase(request, validator, isEdit);return new ActionResult("GuestBook", true);}public ActionResult delete(HttpServletRequest request, Validator validator) {facilityService.deleteComment(request.getParameter("entityId"));return new ActionResult("GuestBook", true);}public ActionResult list(HttpServletRequest request, Validator validator) {String page = request.getParameter("page");int pageNo = 1;if (!Validator.isEmpty(page))pageNo = Integer.parseInt(page);long rowCount = facilityService.getCommentRowCount();Pager pager = new Pager(rowCount, pageNo);List<Comment> comments = facilityService.getComments(pager);List<ProductCategory> categories = productService.getProductCategories(null);request.setAttribute("categories", categories);request.setAttribute("comments", comments);request.setAttribute("pager", pager);request.setAttribute("pageNo", pageNo);return new ActionResult("guestbook.jsp");}private void pupulateRequest(HttpServletRequest request, Comment comment) {request.setAttribute("entityId", Long.toString(comment.getId()));request.setAttribute("reply", comment.getReply());request.setAttribute("content", comment.getContent());request.setAttribute("nickName", comment.getNickName());request.setAttribute("replayTime", Validator.dateToString(comment.getReplyTime()));}private void saveToDatabase(HttpServletRequest request,Validator validator, boolean isEdit) {if (!validator.hasErrors()) {Comment comment;if (!isEdit) {comment = new Comment();comment.setCreateTime(new Date());populateEntity(request, comment);facilityService.saveComment(comment);} else {comment = facilityService.findCommentById(request.getParameter("entityId"));if (!Validator.isEmpty(request.getParameter("reply"))) {comment.setReply(request.getParameter("reply"));comment.setReplyTime(new Date());}facilityService.updateComment(comment);}}}private void checkInputErrors(HttpServletRequest request,Validator validator) {validator.checkRequiredError(new String[] { "content", "nickName" });}private void populateEntity(HttpServletRequest request, Comment comment) {comment.setContent(request.getParameter("content"));comment.setNickName(request.getParameter("nickName"));}
}

查看全文
如若内容造成侵权/违法违规/事实不符,请联系编程学习网邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!

相关文章

  1. 分布式技术高质量面试总结

    分布式相关技术面试总结 如何设计存储海量数据的存储系统? 缓存的实现原理,设计缓存需要注意哪些点?...

    2024/4/28 6:45:50
  2. winform 将应用的默认数据存在dat文件中

    数据类 [Serializable] class SysData { public Int32? Speed { get; set; } public int Volume { get; set; } public string Voicer { get; set; } public string Text {get;set;} } 窗体中的注入数据方法 private SysData New…...

    2024/4/28 0:33:49
  3. Spring Boot Admin

    Spring Boot Admin&#xff08;SBA&#xff09;是一个开源的社区项目&#xff0c;用于管理和监控 Spring Boot 应用程序。应用程序可以通过 http 的方式&#xff0c;或 Spring Cloud 服务发现机制注册到 SBA 中&#xff0c;然后就可以实现对 Spring Boot 项目的可视化管理和查看…...

    2024/4/28 8:27:40
  4. inDesign文字教程,如何在文本中应用首字下沉?

    欢迎观看indesign文字教程&#xff0c;小编带大家学习 InDesign 的基本工具和使用技巧&#xff0c;了解如何在文本中应用装饰性首字下沉。 首字下沉是段落开头的一个字母&#xff0c;比文本的其余部分大。在 inDesign 中为文本添加首字下沉以吸引注意力并为页面添加一些严肃的…...

    2024/4/28 0:11:00
  5. 宝藏又小众的Maya软件插件素材网站分享

    最近看到很多朋友吐槽Maya软件插件素材不好找&#xff0c;有时花了大把时间却没找到合适的&#xff0c;而且有的时候会涉及到各种问题等&#xff0c;不仅工作效率降低&#xff0c;还闹心郁闷&#xff0c;所以今天就给大家分享一下小编自己在亲身体验和搜寻网站中&#xff0c;收…...

    2024/4/15 14:11:48
  6. 主动降噪耳机什么牌子好?热门降噪耳机排行榜

    在过去的几年里&#xff0c;无线蓝牙耳机用户的数量呈爆炸式增长&#xff0c;而苹果的AirPods和AirPods Pro仍是蓝牙耳机中的爆款产品&#xff0c;但是1000的价格并不是每个人都能负担的&#xff0c;所以我认为&#xff0c;在购买蓝牙耳机的时候还是要考虑考虑性价比&#xff0…...

    2024/4/18 23:40:23
  7. 【MQTT】sqlite3的使用

    sqlite3安装sqlite3sqlite3库函数代码实现安装sqlite3 我们从下载页面&#xff0c;SQLi官网从源代码区下载 然后在Linux下安装sqlite3 #下载 wget https://www.sqlite.org/2020/sqlite-autoconf-3310100.tar.gz #解压 tar -xzvf sqlite-autoconf-3310100.tar.gzsqlite3库函数…...

    2024/4/14 13:37:25
  8. SCG WS nginx

    SCG WS nginx - OWASP 概括 这提供了 NginX 安全配置强化指南。配置指南侧重于 NginX 本身。因此&#xff0c;Linux 操作系统配置加固不在此处介绍。 它包括以下主题&#xff1a; 2.1 缓冲区溢出保护 2.2 删除不必要的备份文件 2.3 删除版本号 2.4 缓解缓慢的 HTTP DoS 攻击 …...

    2024/4/20 5:39:20
  9. Cocos2d-x 3,面试题附答案

    return layer end – SpriteProgressToHorizontal 条形的横向进度动画演示 local function SpriteProgressToHorizontal() – 创建层 local layer cc.Layer:create() – 初始化层 Helper.initWithLayer(layer) – 创建进度条 local to1 cc.ProgressTo:create(2, 100) …...

    2024/4/28 13:35:52
  10. Nuxt.js 服务端渲染从安装到部署

    Nuxt.js 服务端渲染方案 了解 Nuxt.js 的作用掌握 Nuxt.js 中的路由掌握 layouts、pages 以及 components 的区别能够在 Nuxt.js 项目中使用第三方 ui 库或者插件掌握 Nuxt.js 中异步获取数据的方式掌握 SEO 的优化 一、什么是 SEO SEO 是英文 Search Engine Optimization 的…...

    2024/4/14 13:38:00
  11. uni-app 185iOS端兼容处理

    朋友圈样式问题 /pages.json {"pages": [ //pages数组中第一项表示应用启动页&#xff0c;参考&#xff1a;https://uniapp.dcloud.io/collocation/pages{"path" : "pages/common/login/login","style" : …...

    2024/4/14 13:37:25
  12. 通俗易懂的讲解CPU/GPU/TPU/NPU/XPU/…

    现在这年代&#xff0c;技术日新月异&#xff0c;物联网、人工智能、深度学习等概念遍地开花&#xff0c;各类芯片名词GPU, TPU, NPU&#xff0c;DPU层出不穷......它们都是什么鬼&#xff1f;与CPU又是什么关系&#xff1f;搞不懂这些知识&#xff0c;买手机的时候都没法在妹子…...

    2024/4/20 1:37:07
  13. 指针与字符串

    提示&#xff1a;文章写完后&#xff0c;目录可以自动生成&#xff0c;如何生成可参考右边的帮助文档 文章目录一、指针有什么用1.指针应用场景一2.指针应用场景二二、为什么数组传递进函数后的sizeof不对了&#xff1f;1.传递进函数的数组变成了什么&#xff1f;三、指针与con…...

    2024/4/18 22:33:29
  14. SpringBoot 异步请求与调用

    转自&#xff1a;微点阅读 https://www.weidianyuedu.com/content/0117397506434.html 一、Spring Boot 中异步请求的使用 ** 1、异步请求与同步请求 同步请求 异步请求 特点&#xff1a;可以先释放容器分配给请求的线程与相关资源&#xff0c;减轻系统负担&#xff0c;释放了…...

    2024/4/5 5:00:21
  15. TextView跑马灯和editText抢占焦点,键盘弹不出来问题解决

    项目中自定义了一个跑马灯效果的textView&#xff0c;一开始代码是下面这样&#xff0c;在listView中&#xff0c;或者单独使用的都没有问题&#xff0c;直到有一天页面中加入了一个EditText&#xff0c;刚进入页面&#xff0c;点击editText可以弹出键盘&#xff0c;收回去之后…...

    2024/4/19 4:35:28
  16. Java面试中最常问的JVM问题大全,附答案

    Java 内存分配 简述 Java 垃圾回收机制 垃圾回收的优点和原理并考虑 2 种回收机制 System.gc() 和 Runtime.gc() 会做什么事情&#xff1f; Java 堆的结构是什么样子的&#xff1f;什么是堆中的永久代&#xff08;Perm Gen space&#xff09;? Java 中会存在内存泄漏吗&a…...

    2024/4/19 4:20:44
  17. 拓展欧几里得—逆元—中国剩余定理—同余

    快速幂 模板&#xff1a; long long mul(int a,int b,int mod) {long long ans1;while(b){if(b&1) ansans*a%mod;aa*a%mod;//注意爆范围b>>1;}return ans; }快速乘 模板&#xff1a; int mul(int a,int b,int mod) {int ans0;while(b){if(b&1) ans(ansa)%mod…...

    2024/4/14 13:38:36
  18. 代码评审|阿里巴巴DevOps实践指南

    编者按&#xff1a;本文源自阿里云云效团队出品的《阿里巴巴DevOps实践指南》&#xff0c;扫描上方二维码或前往&#xff1a;https://developer.aliyun.com/topic/devops&#xff0c;下载完整版电子书&#xff0c;了解阿里十年DevOps实践经验。 代码评审&#xff0c;英文名是 …...

    2024/4/19 16:45:59
  19. GDUT - 专题学习1 D - 一维前缀和

    D - 一维前缀和 题目 一天&#xff0c;在宿舍睡觉的你&#xff0c;突然梦到了游戏之神&#xff0c;他说&#xff1a;去玩《极限脱出》吧&#xff0c;这部作品的剧情和世界观绝对会带来很大的震撼&#xff0c;值得一玩。 对了&#xff0c;这部作品的第一代发布在nds上&#x…...

    2024/4/14 13:38:46
  20. 多线程教程(二十四)CAS+volatile

    多线程教程&#xff08;二十四&#xff09;CASvolatile 获取共享变量时&#xff0c;为了保证该变量的可见性&#xff0c;需要使用 volatile 修饰。 它可以用来修饰成员变量和静态成员变量&#xff0c;他可以避免线程从自己的工作缓存中查找变量的值&#xff0c;必须到主存中获…...

    2024/4/19 1:01:37

最新文章

  1. deepin-IDE, 体验AI编程,拿精美定制礼品!

    内容来源&#xff1a;deepin&#xff08;深度&#xff09;社区 UOS AI 已经上线半年了&#xff0c;想必很多小伙伴在这半年里都体会到了人工智能的魅力。 那你们知道&#xff0c;在 deepin-IDE 中&#xff0c;可以用 AI 写代码吗&#xff1f;deepin-IDE 结合强大的 AI 编辑代码…...

    2024/4/28 13:58:20
  2. 梯度消失和梯度爆炸的一些处理方法

    在这里是记录一下梯度消失或梯度爆炸的一些处理技巧。全当学习总结了如有错误还请留言&#xff0c;在此感激不尽。 权重和梯度的更新公式如下&#xff1a; w w − η ⋅ ∇ w w w - \eta \cdot \nabla w ww−η⋅∇w 个人通俗的理解梯度消失就是网络模型在反向求导的时候出…...

    2024/3/20 10:50:27
  3. 【APUE】网络socket编程温度采集智能存储与上报项目技术------多路复用

    作者简介&#xff1a; 一个平凡而乐于分享的小比特&#xff0c;中南民族大学通信工程专业研究生在读&#xff0c;研究方向无线联邦学习 擅长领域&#xff1a;驱动开发&#xff0c;嵌入式软件开发&#xff0c;BSP开发 作者主页&#xff1a;一个平凡而乐于分享的小比特的个人主页…...

    2024/4/23 11:39:50
  4. Nginx配置文件修改结合内网穿透实现公网访问多个本地web站点

    文章目录 1. 下载windows版Nginx2. 配置Nginx3. 测试局域网访问4. cpolar内网穿透5. 测试公网访问6. 配置固定二级子域名7. 测试访问公网固定二级子域名 1. 下载windows版Nginx 进入官方网站(http://nginx.org/en/download.html)下载windows版的nginx 下载好后解压进入nginx目…...

    2024/4/22 22:16:59
  5. 【外汇早评】美通胀数据走低,美元调整

    原标题:【外汇早评】美通胀数据走低,美元调整昨日美国方面公布了新一期的核心PCE物价指数数据,同比增长1.6%,低于前值和预期值的1.7%,距离美联储的通胀目标2%继续走低,通胀压力较低,且此前美国一季度GDP初值中的消费部分下滑明显,因此市场对美联储后续更可能降息的政策…...

    2024/4/28 13:52:11
  6. 【原油贵金属周评】原油多头拥挤,价格调整

    原标题:【原油贵金属周评】原油多头拥挤,价格调整本周国际劳动节,我们喜迎四天假期,但是整个金融市场确实流动性充沛,大事频发,各个商品波动剧烈。美国方面,在本周四凌晨公布5月份的利率决议和新闻发布会,维持联邦基金利率在2.25%-2.50%不变,符合市场预期。同时美联储…...

    2024/4/28 3:28:32
  7. 【外汇周评】靓丽非农不及疲软通胀影响

    原标题:【外汇周评】靓丽非农不及疲软通胀影响在刚结束的周五,美国方面公布了新一期的非农就业数据,大幅好于前值和预期,新增就业重新回到20万以上。具体数据: 美国4月非农就业人口变动 26.3万人,预期 19万人,前值 19.6万人。 美国4月失业率 3.6%,预期 3.8%,前值 3…...

    2024/4/26 23:05:52
  8. 【原油贵金属早评】库存继续增加,油价收跌

    原标题:【原油贵金属早评】库存继续增加,油价收跌周三清晨公布美国当周API原油库存数据,上周原油库存增加281万桶至4.692亿桶,增幅超过预期的74.4万桶。且有消息人士称,沙特阿美据悉将于6月向亚洲炼油厂额外出售更多原油,印度炼油商预计将每日获得至多20万桶的额外原油供…...

    2024/4/28 13:51:37
  9. 【外汇早评】日本央行会议纪要不改日元强势

    原标题:【外汇早评】日本央行会议纪要不改日元强势近两日日元大幅走强与近期市场风险情绪上升,避险资金回流日元有关,也与前一段时间的美日贸易谈判给日本缓冲期,日本方面对汇率问题也避免继续贬值有关。虽然今日早间日本央行公布的利率会议纪要仍然是支持宽松政策,但这符…...

    2024/4/27 17:58:04
  10. 【原油贵金属早评】欧佩克稳定市场,填补伊朗问题的影响

    原标题:【原油贵金属早评】欧佩克稳定市场,填补伊朗问题的影响近日伊朗局势升温,导致市场担忧影响原油供给,油价试图反弹。此时OPEC表态稳定市场。据消息人士透露,沙特6月石油出口料将低于700万桶/日,沙特已经收到石油消费国提出的6月份扩大出口的“适度要求”,沙特将满…...

    2024/4/27 14:22:49
  11. 【外汇早评】美欲与伊朗重谈协议

    原标题:【外汇早评】美欲与伊朗重谈协议美国对伊朗的制裁遭到伊朗的抗议,昨日伊朗方面提出将部分退出伊核协议。而此行为又遭到欧洲方面对伊朗的谴责和警告,伊朗外长昨日回应称,欧洲国家履行它们的义务,伊核协议就能保证存续。据传闻伊朗的导弹已经对准了以色列和美国的航…...

    2024/4/28 1:28:33
  12. 【原油贵金属早评】波动率飙升,市场情绪动荡

    原标题:【原油贵金属早评】波动率飙升,市场情绪动荡因中美贸易谈判不安情绪影响,金融市场各资产品种出现明显的波动。随着美国与中方开启第十一轮谈判之际,美国按照既定计划向中国2000亿商品征收25%的关税,市场情绪有所平复,已经开始接受这一事实。虽然波动率-恐慌指数VI…...

    2024/4/27 9:01:45
  13. 【原油贵金属周评】伊朗局势升温,黄金多头跃跃欲试

    原标题:【原油贵金属周评】伊朗局势升温,黄金多头跃跃欲试美国和伊朗的局势继续升温,市场风险情绪上升,避险黄金有向上突破阻力的迹象。原油方面稍显平稳,近期美国和OPEC加大供给及市场需求回落的影响,伊朗局势并未推升油价走强。近期中美贸易谈判摩擦再度升级,美国对中…...

    2024/4/27 17:59:30
  14. 【原油贵金属早评】市场情绪继续恶化,黄金上破

    原标题:【原油贵金属早评】市场情绪继续恶化,黄金上破周初中国针对于美国加征关税的进行的反制措施引发市场情绪的大幅波动,人民币汇率出现大幅的贬值动能,金融市场受到非常明显的冲击。尤其是波动率起来之后,对于股市的表现尤其不安。隔夜美国股市出现明显的下行走势,这…...

    2024/4/25 18:39:16
  15. 【外汇早评】美伊僵持,风险情绪继续升温

    原标题:【外汇早评】美伊僵持,风险情绪继续升温昨日沙特两艘油轮再次发生爆炸事件,导致波斯湾局势进一步恶化,市场担忧美伊可能会出现摩擦生火,避险品种获得支撑,黄金和日元大幅走强。美指受中美贸易问题影响而在低位震荡。继5月12日,四艘商船在阿联酋领海附近的阿曼湾、…...

    2024/4/28 1:34:08
  16. 【原油贵金属早评】贸易冲突导致需求低迷,油价弱势

    原标题:【原油贵金属早评】贸易冲突导致需求低迷,油价弱势近日虽然伊朗局势升温,中东地区几起油船被袭击事件影响,但油价并未走高,而是出于调整结构中。由于市场预期局势失控的可能性较低,而中美贸易问题导致的全球经济衰退风险更大,需求会持续低迷,因此油价调整压力较…...

    2024/4/26 19:03:37
  17. 氧生福地 玩美北湖(上)——为时光守候两千年

    原标题:氧生福地 玩美北湖(上)——为时光守候两千年一次说走就走的旅行,只有一张高铁票的距离~ 所以,湖南郴州,我来了~ 从广州南站出发,一个半小时就到达郴州西站了。在动车上,同时改票的南风兄和我居然被分到了一个车厢,所以一路非常愉快地聊了过来。 挺好,最起…...

    2024/4/28 1:22:35
  18. 氧生福地 玩美北湖(中)——永春梯田里的美与鲜

    原标题:氧生福地 玩美北湖(中)——永春梯田里的美与鲜一觉醒来,因为大家太爱“美”照,在柳毅山庄去寻找龙女而错过了早餐时间。近十点,向导坏坏还是带着饥肠辘辘的我们去吃郴州最富有盛名的“鱼头粉”。说这是“十二分推荐”,到郴州必吃的美食之一。 哇塞!那个味美香甜…...

    2024/4/25 18:39:14
  19. 氧生福地 玩美北湖(下)——奔跑吧骚年!

    原标题:氧生福地 玩美北湖(下)——奔跑吧骚年!让我们红尘做伴 活得潇潇洒洒 策马奔腾共享人世繁华 对酒当歌唱出心中喜悦 轰轰烈烈把握青春年华 让我们红尘做伴 活得潇潇洒洒 策马奔腾共享人世繁华 对酒当歌唱出心中喜悦 轰轰烈烈把握青春年华 啊……啊……啊 两…...

    2024/4/26 23:04:58
  20. 扒开伪装医用面膜,翻六倍价格宰客,小姐姐注意了!

    原标题:扒开伪装医用面膜,翻六倍价格宰客,小姐姐注意了!扒开伪装医用面膜,翻六倍价格宰客!当行业里的某一品项火爆了,就会有很多商家蹭热度,装逼忽悠,最近火爆朋友圈的医用面膜,被沾上了污点,到底怎么回事呢? “比普通面膜安全、效果好!痘痘、痘印、敏感肌都能用…...

    2024/4/27 23:24:42
  21. 「发现」铁皮石斛仙草之神奇功效用于医用面膜

    原标题:「发现」铁皮石斛仙草之神奇功效用于医用面膜丽彦妆铁皮石斛医用面膜|石斛多糖无菌修护补水贴19大优势: 1、铁皮石斛:自唐宋以来,一直被列为皇室贡品,铁皮石斛生于海拔1600米的悬崖峭壁之上,繁殖力差,产量极低,所以古代仅供皇室、贵族享用 2、铁皮石斛自古民间…...

    2024/4/28 5:48:52
  22. 丽彦妆\医用面膜\冷敷贴轻奢医学护肤引导者

    原标题:丽彦妆\医用面膜\冷敷贴轻奢医学护肤引导者【公司简介】 广州华彬企业隶属香港华彬集团有限公司,专注美业21年,其旗下品牌: 「圣茵美」私密荷尔蒙抗衰,产后修复 「圣仪轩」私密荷尔蒙抗衰,产后修复 「花茵莳」私密荷尔蒙抗衰,产后修复 「丽彦妆」专注医学护…...

    2024/4/26 19:46:12
  23. 广州械字号面膜生产厂家OEM/ODM4项须知!

    原标题:广州械字号面膜生产厂家OEM/ODM4项须知!广州械字号面膜生产厂家OEM/ODM流程及注意事项解读: 械字号医用面膜,其实在我国并没有严格的定义,通常我们说的医美面膜指的应该是一种「医用敷料」,也就是说,医用面膜其实算作「医疗器械」的一种,又称「医用冷敷贴」。 …...

    2024/4/27 11:43:08
  24. 械字号医用眼膜缓解用眼过度到底有无作用?

    原标题:械字号医用眼膜缓解用眼过度到底有无作用?医用眼膜/械字号眼膜/医用冷敷眼贴 凝胶层为亲水高分子材料,含70%以上的水分。体表皮肤温度传导到本产品的凝胶层,热量被凝胶内水分子吸收,通过水分的蒸发带走大量的热量,可迅速地降低体表皮肤局部温度,减轻局部皮肤的灼…...

    2024/4/27 8:32:30
  25. 配置失败还原请勿关闭计算机,电脑开机屏幕上面显示,配置失败还原更改 请勿关闭计算机 开不了机 这个问题怎么办...

    解析如下&#xff1a;1、长按电脑电源键直至关机&#xff0c;然后再按一次电源健重启电脑&#xff0c;按F8健进入安全模式2、安全模式下进入Windows系统桌面后&#xff0c;按住“winR”打开运行窗口&#xff0c;输入“services.msc”打开服务设置3、在服务界面&#xff0c;选中…...

    2022/11/19 21:17:18
  26. 错误使用 reshape要执行 RESHAPE,请勿更改元素数目。

    %读入6幅图像&#xff08;每一幅图像的大小是564*564&#xff09; f1 imread(WashingtonDC_Band1_564.tif); subplot(3,2,1),imshow(f1); f2 imread(WashingtonDC_Band2_564.tif); subplot(3,2,2),imshow(f2); f3 imread(WashingtonDC_Band3_564.tif); subplot(3,2,3),imsho…...

    2022/11/19 21:17:16
  27. 配置 已完成 请勿关闭计算机,win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机...

    win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机”问题的解决方法在win7系统关机时如果有升级系统的或者其他需要会直接进入一个 等待界面&#xff0c;在等待界面中我们需要等待操作结束才能关机&#xff0c;虽然这比较麻烦&#xff0c;但是对系统进行配置和升级…...

    2022/11/19 21:17:15
  28. 台式电脑显示配置100%请勿关闭计算机,“准备配置windows 请勿关闭计算机”的解决方法...

    有不少用户在重装Win7系统或更新系统后会遇到“准备配置windows&#xff0c;请勿关闭计算机”的提示&#xff0c;要过很久才能进入系统&#xff0c;有的用户甚至几个小时也无法进入&#xff0c;下面就教大家这个问题的解决方法。第一种方法&#xff1a;我们首先在左下角的“开始…...

    2022/11/19 21:17:14
  29. win7 正在配置 请勿关闭计算机,怎么办Win7开机显示正在配置Windows Update请勿关机...

    置信有很多用户都跟小编一样遇到过这样的问题&#xff0c;电脑时发现开机屏幕显现“正在配置Windows Update&#xff0c;请勿关机”(如下图所示)&#xff0c;而且还需求等大约5分钟才干进入系统。这是怎样回事呢&#xff1f;一切都是正常操作的&#xff0c;为什么开时机呈现“正…...

    2022/11/19 21:17:13
  30. 准备配置windows 请勿关闭计算机 蓝屏,Win7开机总是出现提示“配置Windows请勿关机”...

    Win7系统开机启动时总是出现“配置Windows请勿关机”的提示&#xff0c;没过几秒后电脑自动重启&#xff0c;每次开机都这样无法进入系统&#xff0c;此时碰到这种现象的用户就可以使用以下5种方法解决问题。方法一&#xff1a;开机按下F8&#xff0c;在出现的Windows高级启动选…...

    2022/11/19 21:17:12
  31. 准备windows请勿关闭计算机要多久,windows10系统提示正在准备windows请勿关闭计算机怎么办...

    有不少windows10系统用户反映说碰到这样一个情况&#xff0c;就是电脑提示正在准备windows请勿关闭计算机&#xff0c;碰到这样的问题该怎么解决呢&#xff0c;现在小编就给大家分享一下windows10系统提示正在准备windows请勿关闭计算机的具体第一种方法&#xff1a;1、2、依次…...

    2022/11/19 21:17:11
  32. 配置 已完成 请勿关闭计算机,win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机”的解决方法...

    今天和大家分享一下win7系统重装了Win7旗舰版系统后&#xff0c;每次关机的时候桌面上都会显示一个“配置Windows Update的界面&#xff0c;提示请勿关闭计算机”&#xff0c;每次停留好几分钟才能正常关机&#xff0c;导致什么情况引起的呢&#xff1f;出现配置Windows Update…...

    2022/11/19 21:17:10
  33. 电脑桌面一直是清理请关闭计算机,windows7一直卡在清理 请勿关闭计算机-win7清理请勿关机,win7配置更新35%不动...

    只能是等着&#xff0c;别无他法。说是卡着如果你看硬盘灯应该在读写。如果从 Win 10 无法正常回滚&#xff0c;只能是考虑备份数据后重装系统了。解决来方案一&#xff1a;管理员运行cmd&#xff1a;net stop WuAuServcd %windir%ren SoftwareDistribution SDoldnet start WuA…...

    2022/11/19 21:17:09
  34. 计算机配置更新不起,电脑提示“配置Windows Update请勿关闭计算机”怎么办?

    原标题&#xff1a;电脑提示“配置Windows Update请勿关闭计算机”怎么办&#xff1f;win7系统中在开机与关闭的时候总是显示“配置windows update请勿关闭计算机”相信有不少朋友都曾遇到过一次两次还能忍但经常遇到就叫人感到心烦了遇到这种问题怎么办呢&#xff1f;一般的方…...

    2022/11/19 21:17:08
  35. 计算机正在配置无法关机,关机提示 windows7 正在配置windows 请勿关闭计算机 ,然后等了一晚上也没有关掉。现在电脑无法正常关机...

    关机提示 windows7 正在配置windows 请勿关闭计算机 &#xff0c;然后等了一晚上也没有关掉。现在电脑无法正常关机以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容&#xff0c;让我们赶快一起来看一下吧&#xff01;关机提示 windows7 正在配…...

    2022/11/19 21:17:05
  36. 钉钉提示请勿通过开发者调试模式_钉钉请勿通过开发者调试模式是真的吗好不好用...

    钉钉请勿通过开发者调试模式是真的吗好不好用 更新时间:2020-04-20 22:24:19 浏览次数:729次 区域: 南阳 > 卧龙 列举网提醒您:为保障您的权益,请不要提前支付任何费用! 虚拟位置外设器!!轨迹模拟&虚拟位置外设神器 专业用于:钉钉,外勤365,红圈通,企业微信和…...

    2022/11/19 21:17:05
  37. 配置失败还原请勿关闭计算机怎么办,win7系统出现“配置windows update失败 还原更改 请勿关闭计算机”,长时间没反应,无法进入系统的解决方案...

    前几天班里有位学生电脑(windows 7系统)出问题了&#xff0c;具体表现是开机时一直停留在“配置windows update失败 还原更改 请勿关闭计算机”这个界面&#xff0c;长时间没反应&#xff0c;无法进入系统。这个问题原来帮其他同学也解决过&#xff0c;网上搜了不少资料&#x…...

    2022/11/19 21:17:04
  38. 一个电脑无法关闭计算机你应该怎么办,电脑显示“清理请勿关闭计算机”怎么办?...

    本文为你提供了3个有效解决电脑显示“清理请勿关闭计算机”问题的方法&#xff0c;并在最后教给你1种保护系统安全的好方法&#xff0c;一起来看看&#xff01;电脑出现“清理请勿关闭计算机”在Windows 7(SP1)和Windows Server 2008 R2 SP1中&#xff0c;添加了1个新功能在“磁…...

    2022/11/19 21:17:03
  39. 请勿关闭计算机还原更改要多久,电脑显示:配置windows更新失败,正在还原更改,请勿关闭计算机怎么办...

    许多用户在长期不使用电脑的时候&#xff0c;开启电脑发现电脑显示&#xff1a;配置windows更新失败&#xff0c;正在还原更改&#xff0c;请勿关闭计算机。。.这要怎么办呢&#xff1f;下面小编就带着大家一起看看吧&#xff01;如果能够正常进入系统&#xff0c;建议您暂时移…...

    2022/11/19 21:17:02
  40. 还原更改请勿关闭计算机 要多久,配置windows update失败 还原更改 请勿关闭计算机,电脑开机后一直显示以...

    配置windows update失败 还原更改 请勿关闭计算机&#xff0c;电脑开机后一直显示以以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容&#xff0c;让我们赶快一起来看一下吧&#xff01;配置windows update失败 还原更改 请勿关闭计算机&#x…...

    2022/11/19 21:17:01
  41. 电脑配置中请勿关闭计算机怎么办,准备配置windows请勿关闭计算机一直显示怎么办【图解】...

    不知道大家有没有遇到过这样的一个问题&#xff0c;就是我们的win7系统在关机的时候&#xff0c;总是喜欢显示“准备配置windows&#xff0c;请勿关机”这样的一个页面&#xff0c;没有什么大碍&#xff0c;但是如果一直等着的话就要两个小时甚至更久都关不了机&#xff0c;非常…...

    2022/11/19 21:17:00
  42. 正在准备配置请勿关闭计算机,正在准备配置windows请勿关闭计算机时间长了解决教程...

    当电脑出现正在准备配置windows请勿关闭计算机时&#xff0c;一般是您正对windows进行升级&#xff0c;但是这个要是长时间没有反应&#xff0c;我们不能再傻等下去了。可能是电脑出了别的问题了&#xff0c;来看看教程的说法。正在准备配置windows请勿关闭计算机时间长了方法一…...

    2022/11/19 21:16:59
  43. 配置失败还原请勿关闭计算机,配置Windows Update失败,还原更改请勿关闭计算机...

    我们使用电脑的过程中有时会遇到这种情况&#xff0c;当我们打开电脑之后&#xff0c;发现一直停留在一个界面&#xff1a;“配置Windows Update失败&#xff0c;还原更改请勿关闭计算机”&#xff0c;等了许久还是无法进入系统。如果我们遇到此类问题应该如何解决呢&#xff0…...

    2022/11/19 21:16:58
  44. 如何在iPhone上关闭“请勿打扰”

    Apple’s “Do Not Disturb While Driving” is a potentially lifesaving iPhone feature, but it doesn’t always turn on automatically at the appropriate time. For example, you might be a passenger in a moving car, but your iPhone may think you’re the one dri…...

    2022/11/19 21:16:57