美文网首页
SSM SpringBoot vue 健康医疗预约系统

SSM SpringBoot vue 健康医疗预约系统

作者: beyond阿亮 | 来源:发表于2023-02-21 21:16 被阅读0次

    SSM SpringBoot vue 健康医疗预约系统

    SSM 健康医疗预约系统 功能介绍

    首页 图片轮播展示 出诊信息推荐 医院公告 科室信息 科室详情 出诊信息 医生详情 挂号预约 登录注册 留言反馈 个人中心 我的收藏

    后台管理 登录 注册医生 个人中心 用户管理 科室信息管理 医生管理 出诊信息管理 预约时间段管理 预约挂号管理 就诊评价管理 留言板管理 轮播图管理 医院公告管理

    角色:用户 医生 超级管理员

    使用技术

    • SSM(Spring + SpringMVC + Mybaits)或SpringBoot框架

    • Mybaits

    • Mysql数据库

    • vue

    功能展示

    首页.jpg 出诊信息.jpg 登录.jpg 预约挂号.jpg 医生管理.jpg 医院公告管理.jpg 用户管理.jpg 预约挂号管理.jpg 健康医疗预约系统.png

    spring mvc配置

    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
           xmlns:mvc="http://www.springframework.org/schema/mvc"
           xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd">
    
        <mvc:default-servlet-handler/>
    
        <!-- Controller包(自动注入) -->
        <context:component-scan base-package="com.controller"/>
    
        <!-- FastJson注入 -->
        <mvc:annotation-driven>
            <!-- <mvc:message-converters register-defaults="true">
                避免IE执行AJAX时,返回JSON出现下载文件
                FastJson
                <bean id="fastJsonHttpMessageConverter"
                      class="com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter">
                    <property name="supportedMediaTypes">
                        <list>
                            这里顺序不能反,一定先写text/html,不然ie下出现下载提示
                            <value>text/html;charset=UTF-8</value>
                            <value>application/json;charset=UTF-8</value>
                        </list>
                    </property>
                    <property name="features">
                        <array value-type="com.alibaba.fastjson.serializer.SerializerFeature">
                            避免循环引用
                            <value>DisableCircularReferenceDetect</value>
                            是否输出值为null的字段
                            <value>WriteMapNullValue</value>
                            数值字段如果为null,输出为0,而非null
                            <value>WriteNullNumberAsZero</value>
                            字符类型字段如果为null,输出为"",而非null 
                            <value>WriteNullStringAsEmpty</value>
                            List字段如果为null,输出为[],而非null
                            <value>WriteNullListAsEmpty</value>
                            Boolean字段如果为null,输出为false,而非null
                            <value>WriteNullBooleanAsFalse</value>
                        </array>
                    </property>
                </bean>
            </mvc:message-converters> -->
        </mvc:annotation-driven>
        <!-- 静态资源配置 -->
        <mvc:resources mapping="/resources/**" location="/resources/"/>
        <!-- 对模型视图名称的解析,即在模型视图名称添加前后缀 -->
        <bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
            <property name="prefix" value="/WEB-INF/pages/"/>
            <property name="suffix" value=".jsp"/>
        </bean>
        
        <!-- 拦截器配置 -->
        <mvc:interceptors>
            <mvc:interceptor>
                <mvc:mapping path="/**"/>
                <mvc:exclude-mapping path="/upload"/>
                <bean class="com.interceptor.AuthorizationInterceptor"/>
            </mvc:interceptor>
        </mvc:interceptors>
    
        <!-- 上传限制 -->
        <bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
            <!-- 上传文件大小限制为31M,31*1024*1024 -->
            <property name="maxUploadSize" value="32505856"/>
        </bean>
    
    </beans>
    

    运行

    创建数据库, 然后修改数据库连接相关信息。

    配置tomcat运行

    前台访问地址: http://localhost:8080/ssm/front/index.html

    注册或使用账号:liang 密码:liang

    后台访问地址:http://localhost:8080/ssm/admin/dist/index.html

    管理员账号:liang 密码:liang

    相关文章

      网友评论

          本文标题:SSM SpringBoot vue 健康医疗预约系统

          本文链接:https://www.haomeiwen.com/subject/masokdtx.html