自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 记录一下vue3的vite.config.js文件配置

import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' import { resolve } from 'path' import AutoImport from 'unplugin-auto-import/vite' import Components from 'unplugin-vue-components/vite' import { ElementPlusResolver } from 'unplugin-v

2022-05-13 15:31:13 1675

原创 vue3 + typescript封装axios,并使全局实例出现代码提示

一、class封装版 // 引入axios import axios, { AxiosInstance, AxiosResponse, Method, ResponseType, AxiosRequestConfig, AxiosError } from 'axios' // 引入状态管理 import store from '@/store' // 引入路由 import router from '@/router' // 引入自定义工具 impor

2021-12-31 15:38:35 1719

原创 Java封装redis工具类RedisUtils,以及在@Postconstruct注解中调用redis可能出现redisTemplate空指针异常

1、封装redis工具类RedisUtils import org.springframework.data.redis.core.RedisTemplate; import org.springframework.data.redis.core.ZSetOperations; import org.springframework.stereotype.Component; import javax.annotation.Resource; import java.util.List; import .

2021-05-20 15:40:46 2828 2

原创 springboot使用orika,对orika实体类映射工具封装

1、pom导入 <!-- https://mvnrepository.com/artifact/com.gitlab.haynes/orika-spring-boot-starter --> <dependency> <groupId>com.gitlab.haynes</groupId> <artifactId>orika-spring-boot-starter</artifactId> <version&gt

2021-04-21 18:38:56 2198 2

原创 vue封装axios、element-ui消息提示、element-plus消息提示

1、axios封装 //引入axios import axios from 'axios' //引入登录拦截 import store, {TOKEN_HEADER} from "../store"; //引入路由 import router from "../router"; //引入定义链接 import {reUrl, path} from './urls' //引入qs import qs from 'qs' import { // eslint-disable-next-line no-

2021-04-16 17:02:22 4271

原创 Springboot+jpa+sharding-jdbc实现分库分表

1、pom.xml文件 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd

2021-03-05 16:40:12 684

原创 AES加密算法 生成token

package com.ty.qdd.utils; import com.alibaba.fastjson.JSONObject; import com.fasterxml.jackson.databind.ObjectMapper; import com.ty.qdd.pojo.po.app.UserInfoPO; import com.ty.qdd.pojo.vo.app.userInfo.TokenVo; import lombok.SneakyThrows; import org.apache.t

2020-10-16 18:02:34 1626

原创 使用bootstrap实现左侧菜单栏,右侧其他页面

在网上找了很多的这样的案例,但都挺复杂的,看的还累,然后在bootstrap看到了这样一个东西,看下图: 然后就自己运用了一下,效果如下图: 虽然在bootstrap中的只有iframe只有16:9和4:3两种格式,但是可以自己调整,给div一个宽高,然后设置iframe占满整个div,然后通过js赋给iframe链接进跳转,不需要通过java控制,但我不知道这样会不会有什么bug: 可能唯...

2019-10-18 01:42:35 13979 4

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除