12 2022 档案

摘要:1、配置文件 spring.datasource.url=jdbc:mysql://198.168.1.1:3306/user?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&rewriteBatchedStatements=tr 阅读全文
posted @ 2022-12-13 09:02 许孟 阅读(151) 评论(0) 推荐(0) 编辑
摘要:简单示例 import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.core.too 阅读全文
posted @ 2022-12-12 10:54 许孟 阅读(195) 评论(0) 推荐(0) 编辑
摘要:简单示例 import cn.hutool.core.bean.BeanUtil; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.mxy.common.core.entity.SysEsD 阅读全文
posted @ 2022-12-12 10:36 许孟 阅读(69) 评论(0) 推荐(0) 编辑
摘要:Springboot+Vue实现短信与邮箱验证码登录体验网址:https://mxyit.com 示例 1、新增依赖 <!-- 短信服务 --> <dependency> <groupId>com.aliyun</groupId> <artifactId>aliyun-java-sdk-core</artifactId> <version>4.1.0 阅读全文
posted @ 2022-12-12 10:18 许孟 阅读(861) 评论(0) 推荐(0) 编辑
摘要:1、新增依赖 <dependency> <groupId>me.zhyd.oauth</groupId> <artifactId>JustAuth</artifactId> <version>1.16.5</version> </dependency> 2、前端示例 <template> <div 阅读全文
posted @ 2022-12-09 13:27 许孟 阅读(244) 评论(0) 推荐(0) 编辑
摘要:service.sh 使用说明: ./service.sh start ./service.sh stop #!/bin/bash #这里可替换为你自己的执行程序,其他代码无需更改 APP_NAME=mxy_system-0.0.1-SNAPSHOT.jar # shellcheck disable 阅读全文
posted @ 2022-12-09 12:59 许孟 阅读(117) 评论(0) 推荐(0) 编辑
摘要:Drone自动部署配置文件.drone.yml 点击查看代码 kind: pipeline # 定义对象类型,还有secret和signature两种类型 type: docker # 定义流水线类型,还有kubernetes、exec、ssh等类型 name: build # 定义流水线名称 volumes: # 定义流水 阅读全文
posted @ 2022-12-09 12:52 许孟 阅读(360) 评论(0) 推荐(0) 编辑
摘要:一、查看本地用户名和邮箱 查看全局邮箱和用户名 点击查看代码 git config --global user.name git config --global user.email 查看当前项目的邮箱和用户名(需要在项目根目录下) 点击查看代码 git config user.name git c 阅读全文
posted @ 2022-12-07 18:02 许孟 阅读(31) 评论(0) 推荐(0) 编辑