自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 uniapp常用功能代码

修改导航栏字体onNavigationBarButtonTap(e) { if (e.index == 0) { //编辑 /* uni.setNavigationBarTitle({ title:"cehi" //这是修改后的导航栏文字 }) */ const currentWebview = this.$mp.page.$getAppWebview(); currentWebview.setTitleNViewButtonStyle(e.index, {

2020-12-10 23:45:52 2149

原创 【关于log4j严重漏洞好像并没有那么严重】

作者通过注入发现只有用到log4j的地方能够被注入,然而springboot自带log4j,解决方案就是版本改为2.15.0后能解决这个问题!(后面附代码)但有趣的事情发生了!貌似项目结合mybatis即使输入注入代码也无法被执行!并且网上讨论一大堆的大部分都是本机执行,这里作者本机执行并注入成功了!没有毛病!但添加到远程-或者不同主机之间,这种被注入的现象就消失了!然后作者通过各种手段得出结论就是-非本机并且用到mybatis的项目无法被注入,即使获取到了对象也是一段字符串!大家可以下去试试!如有在此

2021-12-17 02:55:32 3134

原创 SpringBoot常见编辑

创建springBoot项目太慢改:https://start.aliyun.com

2021-04-08 23:23:48 163

原创 Mysql常用设置

打开mysql命令行mysql> use mysql;查询hostmysql> select user,host from user;如果没有"%"这个host值,就执行下面这两句:mysql> update user set host='%' where user='root';mysql> flush privileges;//刷新授权任意主机访问mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENT

2021-04-08 01:26:15 109

原创 vscode打包build常见问题

在index.js文件下build下改(加一点)assetsPublicPath: ‘./’,

2020-12-18 17:22:22 2131 2

原创 阿里云创建服务器常用问题

未找到匹配的参数: mysql-community-server错误:没有任何匹配: mysql-community-server尝试运行:yum module disable mysql

2020-12-17 23:15:07 285

原创 脚手架创建项目json跨域问题

将json文件放在static文件夹下解决问题(其他文件无法访问)

2020-12-14 13:59:52 79

原创 idea常用编辑

更改字体File->Settings->keymap->搜索font->鼠标右键第二项

2020-12-11 15:21:09 190 2

原创 阿里云短信服务发送

pom.xml导入依赖 <dependency> <groupId>com.aliyun</groupId> <artifactId>aliyun-java-sdk-core</artifactId> <version>4.5.3</version> </dependency>Controller文件内测试@GetMapping("

2020-12-09 22:18:51 143

原创 SpringBoot使用Redis简单案例

链接Redis服务器并获取字段值pom.xml引入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency>创建名为main的controller文件package com.exa

2020-12-09 17:20:19 291

原创 使用Elementui创建项目

npm安装npm i element-ui -S在 main.js 中写入以下内容:import Vue from ‘vue’;import ElementUI from ‘element-ui’;import ‘element-ui/lib/theme-chalk/index.css’;import App from ‘./App.vue’;Vue.use(ElementUI);new Vue({el: ‘#app’,render: h => h(App)});...

2020-12-08 12:30:18 268

原创 VScode创建vue项目

安装node.js后在cmd或者vscode打开终端安装脚手架: npm install -g vue-cli安装 webpack(打包js的工具): npm install -g webpack以上操作 是 只需要配置一次安装一次即可创建项目vue init webpack myvue安装cnpmnpm install -g cnpm --registry=https://registry.npm.taobao.org运行项目: 先cd到项目文件夹,然后输入以下指令

2020-12-05 12:20:43 465

原创 SpringBoot创建第一个登录验证项目

1.配置Controller文件package com.example.controller;import com.example.model.TbUser;import com.example.service.ControllerService;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.web.bind.annotation.RequestMapping;i

2020-12-04 23:06:39 155

原创 SpringBoot逆向工程自动生成实体类+mapper接口+映射xml文件

SpringBoot逆向工程自动生成实体类+mapper接口+映射xml文件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.

2020-12-04 16:35:52 618 1

原创 idea建立最简单的SpringBoot项目(idea版本2019.3.5)

idea建立最简单的SpringBoot项目(idea版本2019.3.5)项目基于Spring-web,SpringMvc,SpringBoot,mybatis,mysql注意红色箭头文件一定要有UserControllerpackage com.example.controller;import com.example.entity.User;import com.example.entity.Ceshi;import com.example.service.UserServ

2020-12-03 20:48:09 835

爪哇运行环境Windows

爪哇运行环境Windows

2020-12-30

好想法+bd.rar

好想法+bd.rar

2020-12-20

我的数据库+pjjj

我的数据库.zip

2020-12-20

redis+sublime+vscode.rar

redis+sublime+vscode.rar

2020-12-20

wampserver-apache--64b.zip

wampserver-apache--64b.zip

2020-12-20

postman Windows版本

postman Windows版本

2020-12-20

finalshell文件

finalshell文件

2020-12-20

node.js适用于win7和win10

node

2020-12-20

空空如也

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

TA关注的人

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