医院预约管理系统开发 代码展示 九价疫苗接种预约功能(含小程序源代码)

基于微信小程序的疫苗预约系统让疫苗信息,疫苗预约信息等相关信息集中在后台让管理员管理,让用户在小程序端预约疫苗,查看疫苗预约信息,该系统让信息管理变得高效,也让用户预约疫苗,查看疫苗预约等信息变得越来越方便。

一、项目简述
本系统功能包括:
1、疫苗添加、修改、删除等管理
2、接种点管理(接种点、工作人员)
3、预约跟进(预约、签到、预检、接种、留观、留观历史)
4、用户管理

1、小程序预约的界面展示

在这里插入图片描述

2、医生管理控制器

<?php
namespace app\store\controller;
use app\store\model\Doctors as DoctorsModel;/*** 医生管理控制器* Class Doctors* @package app\store\controller*/
class Doctors extends Controller
{/*** 医生列表* @return mixed* @throws \think\exception\DbException*/public function index(){$model = new DoctorsModel;$list = $model->getList();// return json($list);return $this->fetch('index', compact('list'));}

3、添加医生

    /*** 添加医生* @return array|mixed*/public function add(){if (!$this->request->isAjax()) {return $this->fetch('add');}$model = new DoctorsModel;if ($model->add($this->postData('doctors'))) {return $this->renderSuccess('添加成功', url('doctors/index'));}$error = $model->getError() ?: '添加失败';return $this->renderError($error);}/*** 删除医生* @param $doctors_id* @return array* @throws \think\exception\DbException*/public function delete($doctors_id){$model = DoctorsModel::get($doctors_id);if (!$model->remove()) {return $this->renderError('删除失败');}return $this->renderSuccess('删除成功');}

4、医生编辑

    /*** 医生编辑* @param $doctors_id* @return array|mixed* @throws \think\exception\DbException*/public function edit($doctors_id){// 商品详情$model = DoctorsModel::detail($doctors_id);if (!$this->request->isAjax()) {return $this->fetch('edit', compact('model'));}// 更新记录if ($model->edit($this->postData('doctors'))) {return $this->renderSuccess('更新成功', url('doctors/index'));}$error = $model->getError() ?: '更新失败';return $this->renderError($error);}}

5、订单管理

<?phpnamespace app\store\controller;use app\store\model\Order as OrderModel;/*** 订单管理* Class Order* @package app\store\controller*/
class Order extends Controller
{/*** 待发货订单列表* @return mixed* @throws \think\exception\DbException*/public function delivery_list(){return $this->getList('待发货订单列表', ['pay_status' => 20,'delivery_status' => 10]);}
/*** 已付款订单列表* @return mixed* @throws \think\exception\DbException*/public function receipt_list(){return $this->getList('已付款订单列表', ['status' => 1]);}/*** 待付款订单列表* @return mixed* @throws \think\exception\DbException*/public function pay_list(){return $this->getList('待付款订单列表', ['status' => 0]);}/*** 已完成订单列表* @return mixed* @throws \think\exception\DbException*/public function complete_list(){return $this->getList('已完成订单列表', ['status' => 2]);}/*** 已取消订单列表* @return mixed* @throws \think\exception\DbException*/public function cancel_list(){return $this->getList('已取消订单列表', ['status' => -1]);}/*** 全部订单列表* @return mixed* @throws \think\exception\DbException*/public function all_list(){return $this->getList('全部订单列表');}

6、订单列表、订单详情控制器

    /*** 订单列表* @param $title* @param $filter* @return mixed* @throws \think\exception\DbException*/private function getList($title, $filter = []){$model = new OrderModel;$list = $model->getList($filter);return $this->fetch('index', compact('title','list'));}/*** 订单详情* @param $order_id* @return mixed* @throws \think\exception\DbException*/public function detail($order_id){$detail = OrderModel::detail($order_id);return $this->fetch('detail', compact('detail'));}

7、确认发货

    /*** 确认发货* @param $order_id* @return array* @throws \think\exception\DbException*/public function delivery($order_id){$model = OrderModel::detail($order_id);if ($model->delivery($this->postData('order'))) {return $this->renderSuccess('发货成功');}$error = $model->getError() ?: '发货失败';return $this->renderError($error);}}

8、在后台设置可以进行预约接种疫苗的时间段

在这里插入图片描述

9、疫苗上架的功能界面图:

在这里插入图片描述

10、订阅的用户信息管理

在这里插入图片描述

11、预约的用户信息管理

在这里插入图片描述

12、预约的用户信息管理详情页,后台管理员也可以手动为客户修改预约日期

在这里插入图片描述

13、导出订阅用户

<?php
namespace app\store\controller;
use think\Db;
use think\Log;Class Output extends Controller
{/*** 导出订阅用户*/public function outExcel(){vendor("PHPExcel.PHPExcel");//实例化phpexcel对象$objPHPExcel = new \PHPExcel();$orders = session('output_orders');// 给表格添加数据$objPHPExcel->setActiveSheetIndex(0)->setCellValue('A1', '名字')->setCellValue('B1', '排号')->setCellValue('C1', '电话')->setCellValue('D1', '疫苗种类')->setCellValue('E1', '年龄')->setCellValue('F1', '出生日期')->setCellValue('G1', '身份证号')->setCellValue('H1', '发货状态')->setCellValue('I1', '订阅时间')->setCellValue('J1', '发货时间')->setCellValue('K1', '渠道来源')->setCellValue('L1', '分销员');$arr = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L'];$objPHPExcel->getActiveSheet()->getColumnDimension('A')->setWidth(15);$objPHPExcel->getActiveSheet()->getColumnDimension('B')->setWidth(10);$objPHPExcel->getActiveSheet()->getColumnDimension('C')->setWidth(15);$objPHPExcel->getActiveSheet()->getColumnDimension('D')->setWidth(25);$objPHPExcel->getActiveSheet()->getColumnDimension('E')->setWidth(10);$objPHPExcel->getActiveSheet()->getColumnDimension('F')->setWidth(15);$objPHPExcel->getActiveSheet()->getColumnDimension('G')->setWidth(25);$objPHPExcel->getActiveSheet()->getColumnDimension('H')->setWidth(15);$objPHPExcel->getActiveSheet()->getColumnDimension('I')->setWidth(20);$objPHPExcel->getActiveSheet()->getColumnDimension('J')->setWidth(20);$objPHPExcel->getActiveSheet()->getColumnDimension('K')->setWidth(15);$objPHPExcel->getActiveSheet()->getColumnDimension('K')->setWidth(15);for($i = 0; $i < count($arr); $i++){$objPHPExcel->getActiveSheet()->getStyle($arr[$i].'1')->getFont()->setBold(true);$objPHPExcel->getActiveSheet()->getStyle($arr[$i].'1')->getFont()->setSize(12);$objPHPExcel->getActiveSheet()->getStyle($arr[$i].'1')->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle($arr[$i].'1')->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);}$objPHPExcel->getActiveSheet()->getRowDimension(1)->setRowHeight(30);for($i = 2; $i <= count($orders) + 1; $i++){$objPHPExcel->getActiveSheet()->getStyle('A'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('A'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('B'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('B'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('C'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('C'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('D'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('D'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('E'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('E'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('F'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('F'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('G'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('G'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('H'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('H'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('I'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('I'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('J'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('J'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('K'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('K'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('L'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('L'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);if($orders[$i-2]['deliver_status'] == '1'){$deliver_status = "已发货";}elseif($orders[$i-2]['deliver_status'] == '-1'){$deliver_status = "已过期";}else{$deliver_status = "未发货";}$minus_time = time() - strtotime($orders[$i-2]['birthday']);$age = floor($minus_time/3600/24/365);$objPHPExcel->getActiveSheet()->setCellValue('A' . $i, $orders[$i-2]['user_name']);$objPHPExcel->getActiveSheet()->setCellValue('B' . $i, $orders[$i-2]['subscribe_id']);$objPHPExcel->getActiveSheet()->setCellValue('C' . $i, $orders[$i-2]['telephone']);$objPHPExcel->getActiveSheet()->setCellValue('D' . $i, $orders[$i-2]['vaccines']);$objPHPExcel->getActiveSheet()->setCellValue('E' . $i, $age);$objPHPExcel->getActiveSheet()->setCellValue('F' . $i, $orders[$i-2]['birthday']);$objPHPExcel->getActiveSheet()->setCellValue('G' . $i, $orders[$i-2]['idcard']."\t");$objPHPExcel->getActiveSheet()->setCellValue('H' . $i, $deliver_status);$objPHPExcel->getActiveSheet()->setCellValue('I' . $i, $orders[$i-2]['create_time']);$objPHPExcel->getActiveSheet()->setCellValue('J' . $i, $orders[$i-2]['deliver_time']);$objPHPExcel->getActiveSheet()->setCellValue('K' . $i, $orders[$i-2]['channel']);$objPHPExcel->getActiveSheet()->setCellValue('l' . $i, $orders[$i-2]['name']);}$objPHPExcel->getActiveSheet()->setTitle('订阅用户');//激活当前表$objPHPExcel->setActiveSheetIndex(0);ob_end_clean();//清除缓冲区,避免乱码$name = '订阅用户_'.date('YmdHis').'.xlsx';//弹出提示下载文件header('pragma:public');header("Content-Disposition:attachment;filename=".$name);header('Cache-Control: max-age=0');$objWriter = \PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');$objWriter->save('php://output');}

14、导出预约用户Excel表单

	/*** 导出预约用户*/public function outExcel2(){vendor("PHPExcel.PHPExcel");//实例化phpexcel对象$objPHPExcel = new \PHPExcel();$orders = session('output_orders2');// 给表格添加数据$objPHPExcel->setActiveSheetIndex(0)->setCellValue('A1', '名字')->setCellValue('B1', '针次')->setCellValue('C1', '电话')->setCellValue('D1', '疫苗种类')->setCellValue('E1', '年龄')->setCellValue('F1', '出生日期')->setCellValue('G1', '身份证号')->setCellValue('H1', '接种状态')->setCellValue('I1', '下单时间')->setCellValue('J1', '预约日期')->setCellValue('K1', '预约时段')->setCellValue('L1', '渠道来源')->setCellValue('M1', '分销员');$arr = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M'];$objPHPExcel->getActiveSheet()->getColumnDimension('A')->setWidth(15);$objPHPExcel->getActiveSheet()->getColumnDimension('B')->setWidth(10);$objPHPExcel->getActiveSheet()->getColumnDimension('C')->setWidth(15);$objPHPExcel->getActiveSheet()->getColumnDimension('D')->setWidth(25);$objPHPExcel->getActiveSheet()->getColumnDimension('E')->setWidth(10);$objPHPExcel->getActiveSheet()->getColumnDimension('F')->setWidth(15);$objPHPExcel->getActiveSheet()->getColumnDimension('G')->setWidth(25);$objPHPExcel->getActiveSheet()->getColumnDimension('H')->setWidth(15);$objPHPExcel->getActiveSheet()->getColumnDimension('I')->setWidth(20);$objPHPExcel->getActiveSheet()->getColumnDimension('J')->setWidth(15);$objPHPExcel->getActiveSheet()->getColumnDimension('K')->setWidth(15);$objPHPExcel->getActiveSheet()->getColumnDimension('L')->setWidth(15);$objPHPExcel->getActiveSheet()->getColumnDimension('M')->setWidth(15);for($i = 0; $i < count($arr); $i++){$objPHPExcel->getActiveSheet()->getStyle($arr[$i].'1')->getFont()->setBold(true);$objPHPExcel->getActiveSheet()->getStyle($arr[$i].'1')->getFont()->setSize(12);$objPHPExcel->getActiveSheet()->getStyle($arr[$i].'1')->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle($arr[$i].'1')->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);}$objPHPExcel->getActiveSheet()->getRowDimension(1)->setRowHeight(30);for($i = 2; $i <= count($orders) + 1; $i++){$objPHPExcel->getActiveSheet()->getStyle('A'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('A'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('B'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('B'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('C'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('C'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('D'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('D'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('E'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('E'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('F'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('F'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('G'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('G'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('H'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('H'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('I'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('I'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('J'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('J'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('K'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('K'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('L'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('L'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('M'.$i)->getAlignment()->setVertical(\PHPExcel_Style_Alignment::VERTICAL_CENTER);$objPHPExcel->getActiveSheet()->getStyle('M'.$i)->getAlignment()->setHorizontal(\PHPExcel_Style_Alignment::HORIZONTAL_CENTER);if($orders[$i-2]['number'] == '1'){$number = "第一针";}elseif($orders[$i-2]['number'] == '2'){$number = "第二针";}elseif($orders[$i-2]['number'] == '3'){$number = "第三针";}if($orders[$i-2]['status'] == '1'){$status = "已完成";}elseif($orders[$i-2]['status'] == '2'){$status = "已过期";}elseif($orders[$i-2]['status'] == '-1'){$status = "已取消";}else{$status = "待接种";}$minus_time = time() - strtotime($orders[$i-2]['birthday']);$age = floor($minus_time/3600/24/365);$objPHPExcel->getActiveSheet()->setCellValue('A' . $i, $orders[$i-2]['user_name']);$objPHPExcel->getActiveSheet()->setCellValue('B' . $i, $number);$objPHPExcel->getActiveSheet()->setCellValue('C' . $i, $orders[$i-2]['telephone']);$objPHPExcel->getActiveSheet()->setCellValue('D' . $i, $orders[$i-2]['vaccines']);$objPHPExcel->getActiveSheet()->setCellValue('E' . $i, $age);$objPHPExcel->getActiveSheet()->setCellValue('F' . $i, $orders[$i-2]['birthday']);$objPHPExcel->getActiveSheet()->setCellValue('G' . $i, $orders[$i-2]['idcard']."\t");$objPHPExcel->getActiveSheet()->setCellValue('H' . $i, $status);$objPHPExcel->getActiveSheet()->setCellValue('I' . $i, $orders[$i-2]['order_time']);$objPHPExcel->getActiveSheet()->setCellValue('J' . $i, $orders[$i-2]['appoint_date']);$objPHPExcel->getActiveSheet()->setCellValue('K' . $i, $orders[$i-2]['appoint_time']);$objPHPExcel->getActiveSheet()->setCellValue('L' . $i, $orders[$i-2]['channel']);$objPHPExcel->getActiveSheet()->setCellValue('M' . $i, $orders[$i-2]['name']);}$objPHPExcel->getActiveSheet()->setTitle('预约用户');//激活当前表$objPHPExcel->setActiveSheetIndex(0);ob_end_clean();//清除缓冲区,避免乱码$name = '预约用户_'.date('YmdHis').'.xlsx';//弹出提示下载文件header('pragma:public');header("Content-Disposition:attachment;filename=".$name);header('Cache-Control: max-age=0');$objWriter = \PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');$objWriter->save('php://output');}
}

15、需要开发医院在线预约管理系统的 可以QQ扫一扫:

在这里插入图片描述

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/167653.shtml

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

相关文章

额温枪方案,MS8551,MS8601;MS1112,MS1100

鉴于测温的传感器信号非常微弱&#xff0c;需要用高精度、低噪声的运算放大器和高精度、低功耗的ADC。 运算放大器可供选择&#xff1a;MS8551 or MS8601&#xff0c;具有低失调&#xff08;1uV&#xff09;、低噪&#xff08;22nV√Hz &#xff09;、封装小等优点&#xff0c…

Redis并发问题解决方案

目录 前言 1.分布式锁 1.基于单个节点 2.基于多个节点 3.watch(乐观锁) 2.原子操作 1.单命令操作 2.Lua 脚本(多命令操作) 3.事务 1.执行步骤 2.错误处理 3.崩溃处理 总结 前言 在多个客户端并发访问Redis的时候&#xff0c;虽然Redis是单线程执行指令&#xff…

【间歇振荡器2片555时基仿真】2022-9-24

缘由multisim出现这个应该怎么解决吖&#xff0c;急需解决-嵌入式-CSDN问答 输出一定要有电阻分压才能前后连接控制否则一定报错。

Python自动化生成漂亮的测试报告

&#x1f4e2;专注于分享软件测试干货内容&#xff0c;欢迎点赞 &#x1f44d; 收藏 ⭐留言 &#x1f4dd; 如有错误敬请指正&#xff01;&#x1f4e2;交流讨论&#xff1a;欢迎加入我们一起学习&#xff01;&#x1f4e2;资源分享&#xff1a;耗时200小时精选的「软件测试」资…

五种多目标优化算法(MOJS、NSGA3、MOGWO、NSWOA、MOPSO)求解微电网多目标优化调度(MATLAB代码)

一、多目标优化算法简介 &#xff08;1&#xff09;多目标水母搜索算法MOJS 多目标优化算法&#xff1a;多目标水母搜索算法MOJS&#xff08;提供MATLAB代码&#xff09;_水母算法-CSDN博客 &#xff08;2&#xff09;NSGA3 NSGA-III求解微电网多目标优化调度&#xff08;M…

acwing算法基础之数学知识--求卡特兰数

目录 1 基础知识2 模板3 工程化 1 基础知识 题目&#xff1a;给定n个0和n个1&#xff0c;它们将按照某种顺序排成长度为2n的序列&#xff0c;求它们能排成的所有序列中&#xff0c;能够满足任意前缀序列中0的个数都不少于1的个数的序列有多少个&#xff1f; 输出的答案对 1 0 …

【云原生 Prometheus篇】Prometheus的动态服务发现机制与认证配置

目录 一、Prometheus服务发现的方式1.1 基于文件的服务发现1.2 基于consul的服务发现1.3 基于 Kubernetes API 的服务发现1.3.1 简介1.3.2 基于Kurbernetes发现机制的部分配置参数 二、实例一&#xff1a;部署基于文件的服务发现2.1 创建用于服务发现的文件2.2 修改Prometheus的…

yo!这里是c++11重点新增特性介绍

目录 前言 列表初始化 { }初始化 initializer_list类 类型推导 auto decltype 范围for 右值引用与移动语义 左值引用和右值引用 移动语义 1.移动构造 2.移动赋值 3.stl容器相关更新 右值引用和万能引用 完美转发 关键字 default delete final和override …

西米支付:简单介绍一下支付公司的分账功能体系

随着互联网的普及和电子商务的快速发展&#xff0c;支付已经成为人们日常生活的重要组成部分。支付公司作为第三方支付平台&#xff0c;为消费者和商家提供了便捷、安全的支付方式。而在支付领域中&#xff0c;分账功能是一个非常重要的功能&#xff0c;它可以帮助企业实现资金…

C语言——从终端(键盘)将 5 个整数输入到数组 a 中,然后将 a 逆序复制到数组 b 中,并输出 b 中 各元素的值。

#define _CRT_SECURE_NO_WARNINGS 1#include<stdio.h> int main() {int i;int a[5];int b[5];printf("输入5个整数&#xff1a;\n");for(i0;i<5;i){scanf("%d",&a[i]);}printf("数组b的元素值为&#xff1a;\n");for(i4;i>0;i--…

Javascript每天一道算法题(十五)——轮转数组_中等(一行解决轮转数组)

文章目录 1、问题2、示例3、解决方法&#xff08;1&#xff09;方法1——while遍历&#xff08;较为复杂&#xff0c;不推荐&#xff09;&#xff08;2&#xff09;方法2&#xff08;直接截取后插入&#xff0c;推荐&#xff09;&#xff08;3&#xff09;方法3——优化方法2&a…

jQuery_03 dom对象和jQuery对象的互相转换

dom对象和jQuery对象 dom对象 jQuery对象 在一个文件中同时存在两种对象 dom对象: 通过js中的document对象获取的对象 或者创建的对象 jQuery对象: 通过jQuery中的函数获取的对象。 为什么使用dom或jQuery对象呢&#xff1f; 目的是 要使用dom对象的函数或者属性 以及呢 要…

python -opencv 轮廓检测(多边形,外接矩形,外接圆)

python -opencv 轮廓检测(多边形&#xff0c;外接矩形&#xff0c;外接圆) 边缘检测步骤: 第一步&#xff1a;读取图像为灰度图 第二步&#xff1a;进行二值化处理 第三步&#xff1a;使用cv2.findContours对二值化图像提取轮廓 第三步&#xff1a;将轮廓绘制到图中 代码如下…

Hibernate的三种状态

1.瞬时状态(Transient) 通过new创建对象后&#xff0c;对象并没有立刻持久化&#xff0c;他并未对数据库中的数据有任何的关联&#xff0c;此时java对象的状态为瞬时状态&#xff0c;Session对于瞬时状态的java对象是一无所知的&#xff0c;当对象不再被其他对象引用时&#xf…

【TL431+场效应管组成过压保护电路】2022-3-22

缘由这个稳压三极管是构成的电路是起到保护的作用吗&#xff1f;-硬件开发-CSDN问答

HTML5+ API 爬坑记录

背景: 有个比较早些使用5开发的项目, 最近两天反馈了一些问题, 解决过程在此记录; 坑1: plus.gallery.pick 选择图片没有进入回调 HTML5 API Reference 在 联想小新 平板电脑上选择相册图片进行上传时, 打开相册瞬间 应用会自动重启, 相册倒是有打开, 不过应用重启了, 导…

[原创](免改BIOS)使用Clover升级旧电脑-(高阶玩法)让固态硬盘内置Win11 PE启动系统

[简介] 常用网名: 猪头三 出生日期: 1981.XX.XXQQ: 643439947 个人网站: 80x86汇编小站 https://www.x86asm.org 编程生涯: 2001年~至今[共22年] 职业生涯: 20年 开发语言: C/C、80x86ASM、PHP、Perl、Objective-C、Object Pascal、C#、Python 开发工具: Visual Studio、Delphi…

【算法专题】滑动窗口—无重复字符的最长子串

力扣题目链接&#xff1a;无重复字符的最长子串 一、题目解析 二、算法原理 解法一&#xff1a;暴力解法&#xff08;时间复杂度最坏&#xff1a;O(N)&#xff09; 从每一个位置开始往后枚举&#xff0c;在往后寻找无重复最长子串时&#xff0c;可以利用哈希表来统计字符出现…

手机APP-MCP走蓝牙无线遥控智能安全帽~执法记录仪~拍照录像,并可做基础的配置,例如修改服务器IP以及配置WiFi等

手机APP-MCP走蓝牙无线遥控智能安全帽~执法记录仪~拍照录像,并可做基础的配置,例如修改服务器IP以及配置WiFi等 手机APP-MCP走蓝牙无线遥控智能安全帽~执法记录仪~拍照录像,并可做基础的配置,例如修改服务器IP以及配置WiFi等&#xff0c; AIoT万物智联&#xff0c;智能安全帽…

JVM之jvisualvm多合一故障处理工具

jvisualvm多合一故障处理工具 1、visualvm介绍 VisualVM是一款免费的&#xff0c;集成了多个 JDK 命令行工具的可视化工具&#xff0c;它能为您提供强大的分析能力&#xff0c;对 Java 应 用程序做性能分析和调优。这些功能包括生成和分析海量数据、跟踪内存泄漏、监控垃圾回…