上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 60 下一页
摘要: Windows 安装 MySQL 5.7 x64 位 MySQL 8.0及以上默认为utf8,所以不需要设置 mysql> show variables like 'character_%' mysql> show variables like 'collation_%' 修改配置 [mysql] 阅读全文
posted @ 2022-10-14 13:49 VipSoft 阅读(762) 评论(0) 推荐(0)
摘要: 数据库安装 选择全新安装模式继续安装 输入产品秘钥:这里使用演示秘钥进行 接受许可 规则检测 可以后期再开放防火墙对外端口 选择需要安装的功能,想省事可以选择【全选】 可以安装JDK,这边选择取消 Polybase 查询服务 使用默认实例 服务器配置–默认即可 服务器配置 Reporting Ser 阅读全文
posted @ 2022-10-14 12:10 VipSoft 阅读(2038) 评论(0) 推荐(0)
摘要: 设置MySQL 创建数据库,默认为UTF-8 下载地址:https://downloads.mysql.com/archives/installer/ 安装 网站上只有 x86 没有 x64 位,之前下了 x64 的zip 包,配置比较麻烦,其实这个 x86 包里面,已经包含了 x64的包 我这边选 阅读全文
posted @ 2022-10-14 09:54 VipSoft 阅读(364) 评论(0) 推荐(0)
摘要: 1. 安装要求 在开始之前,部署Kubernetes集群机器需要满足以下几个条件: 一台或多台机器,操作系统 CentOS7.x-86_x64 硬件配置:2GB或更多RAM,2个CPU或更多CPU,硬盘30GB或更多 可以访问外网,需要拉取镜像,如果服务器不能上网,需要提前下载镜像并导入节点 禁止s 阅读全文
posted @ 2022-10-13 17:00 VipSoft 阅读(1408) 评论(0) 推荐(0)
摘要: 前一次 init 时,master ip 写错了,导致init 失败,修改IP后再次执行时,报 kubeadm init 失败,port is in use Last login: Thu Oct 13 15:11:27 2022 from 172.16.0.66 [root@k8smaster ~ 阅读全文
posted @ 2022-10-13 16:04 VipSoft 阅读(470) 评论(0) 推荐(0)
摘要: 下载文件 SpringBoot 接口输出文件流 & Vue 下载文件流,获取 Header 中的文件名 @SpringBootTest class DownloadTests { Logger logger = LoggerFactory.getLogger(this.getClass()); Co 阅读全文
posted @ 2022-10-09 13:46 VipSoft 阅读(970) 评论(0) 推荐(0)
摘要: 安装前可以先检查一下有没有,再选择是否要安装 卸载 Nginx # 删除除了配置文件以外的所有文件。 sudo apt-get remove nginx nginx-common # 删除所有与nginx有关的东西,包括配置文件。 sudo apt-get purge nginx nginx-com 阅读全文
posted @ 2022-09-30 13:32 VipSoft 阅读(339) 评论(0) 推荐(0)
摘要: MySQL 数据分组后取第一条数据 SQL SERVER (mssql) 数据分组后取第一条数据 SQL 如下 找状态=1的数据,按 HospitalId,DeptId 组合并倒序排序,每组里面取第一条数据 SELECT * FROM ( SELECT *, ROW_NUMBER() OVER (P 阅读全文
posted @ 2022-09-30 10:24 VipSoft 阅读(1326) 评论(0) 推荐(0)
摘要: 静态资源( StaticResource )指的是在程序载入内存时对资源的一次性使用,之后就不再访问这个资源了;动态资源(DynamicResource)使用指的是在程序运行过程中然会去访问资源。 简单的可以理解为,如果换皮肤而不重启程序,就需要用 DynamicResource <Window x 阅读全文
posted @ 2022-09-29 14:43 VipSoft 阅读(481) 评论(0) 推荐(0)
摘要: 画一个 Border 对边框进行投影 <Window x:Class="WpfApp1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.micr 阅读全文
posted @ 2022-09-28 12:32 VipSoft 阅读(207) 评论(0) 推荐(0)
摘要: 要注意,拖拽的地方,需要加背景色,否则 DrageMove 将无效 MainWindows.xaml <Window x:Class="Report.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentatio 阅读全文
posted @ 2022-09-28 09:46 VipSoft 阅读(762) 评论(0) 推荐(1)
摘要: 驼峰下划线互转 /** * 将驼峰风格替换为下划线风格 */ public static String camelhumpToUnderline(String str) { final int size; final char[] chars; final StringBuilder sb = ne 阅读全文
posted @ 2022-09-21 09:30 VipSoft 阅读(139) 评论(0) 推荐(0)
摘要: Vue3+vite+ts 没找到类似的解决方案 没有使用 package.json 进行配置 ,改配置时不需要重新打包 Vue 多环境配置 package.json settings.js,并将其添加到 public/index.html 中 <!DOCTYPE html> <html> <head 阅读全文
posted @ 2022-09-15 15:10 VipSoft 阅读(296) 评论(0) 推荐(0)
摘要: Spring Boot JWT 用户认证 JWT token验证后,通过 ThreadLocal 进行传值,在服务层直接使用 Threadlocal 获取当前用户,的Id、姓名,进行行为记录 定义一个用户实体类 package com.vipsoft.core.user.entity; import 阅读全文
posted @ 2022-09-13 21:27 VipSoft 阅读(407) 评论(0) 推荐(0)
摘要: 数据库 SQL SERVER 2008,连接时报:[IM002]Navicat ODBC驱动器管理器 未发现数据源名称并且未指定默认驱动程序 到安装目录下找到 sqlncli_x64.mis 双击安装 下一步,直到安装完成 阅读全文
posted @ 2022-09-07 14:26 VipSoft 阅读(1722) 评论(0) 推荐(0)
摘要: [2022-09-07 11:45:35.517] [Druid-ConnectionPool-Create-5339735] [ERROR] com.alibaba.druid.pool.DruidDataSource - create connection SQLException, url: 阅读全文
posted @ 2022-09-07 12:00 VipSoft 阅读(6254) 评论(0) 推荐(0)
摘要: SpringBoot 配置多数据源 无非就是namespace写错了、mapper接口或者xml文件名字没对应上等 mapper.xml中的namespace和实际的mapper文件不一致 mapper接口中的方法名和mapper.xml中的id标签不一致 Mapper.xml没有构建进去 打开ta 阅读全文
posted @ 2022-09-07 11:23 VipSoft 阅读(121) 评论(0) 推荐(0)
摘要: SpringBoot 接口输出文件流 & Vue 下载文件流,获取 Header 中的文件名 为什么浏览器中有些文件点击后是预览,有些是下载:https://chuna2.787528.xyz/vipsoft/p/18267174 Spring Boot 接口返回文件流 :https://www.cnb 阅读全文
posted @ 2022-09-06 17:50 VipSoft 阅读(3322) 评论(0) 推荐(0)
摘要: 根据前端传入不同的支付code,动态找到对应的支付方法,发起支付。我们先定义一个注解。 @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface PayCode { String value(); 阅读全文
posted @ 2022-09-05 09:25 VipSoft 阅读(150) 评论(0) 推荐(0)
摘要: Spring Boot 在Windows CMD 中运行,日志输出中文乱码name="CONSOLE" 设置成 charset utf-8 ,在windows cmd 中运行时,log日志输出显示乱码,去掉即口 <appender name="CONSOLE" class="ch.qos.logba 阅读全文
posted @ 2022-09-01 14:43 VipSoft 阅读(1654) 评论(0) 推荐(1)
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 60 下一页