摘要: 需求:服务器对外开放端口5002; 实际服务端口9010 ; 利用Nginx实现请求5002 时候自动跳转请求9010的服务; Nginx配置如下 user www www;worker_processes auto;error_log /www/wwwlogs/nginx_error.log cr 阅读全文
posted @ 2021-07-29 09:59 三弄梅花 阅读(2071) 评论(0) 推荐(0) 编辑
摘要: springboot jar 打包时候文件非常大;不利于更新和升级; 1、Pom文件 <build><!-- <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-pl 阅读全文
posted @ 2021-07-23 23:04 三弄梅花 阅读(618) 评论(0) 推荐(0) 编辑
摘要: 1、修改redis服务器的配置文件vi redis.conf 注释以下绑定的主机地址# bind 127.0.0.1 2、修改redis服务器的参数配置 修改redis的守护进程为no ,不启用127.0.0.1:6379> config set daemonize "no"OK 修改redis的保 阅读全文
posted @ 2021-07-21 20:51 三弄梅花 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Springboot+MybatisPlus多数据源+controller全局异常返回 1、多数据源 1.1 添加依赖 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" 阅读全文
posted @ 2021-05-18 21:31 三弄梅花 阅读(93) 评论(0) 推荐(0) 编辑
摘要: select * from zd_ksfl order by AID offset 60 rows fetch next 10 rows only --order by ArtistId offset 页数*每页多少条(6也每页10条) rows fetch next (每页条数) rows onl 阅读全文
posted @ 2021-04-30 16:57 三弄梅花 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 在Pom.xml添加 以下引用即可<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-bootstrap</artifactId></dependency> 阅读全文
posted @ 2021-04-27 21:20 三弄梅花 阅读(2212) 评论(0) 推荐(0) 编辑
摘要: 1、利用D10 以上自带的IdHMACSHA1 var app_secret,sha1Value,base64Value:string;signSrcString:string;bs : TIdBytes;begin appid := 'jzrhvabb71qp5yo08y9d'; time := 阅读全文
posted @ 2021-03-31 14:45 三弄梅花 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 1.创建视图的时候使用 WITH SCHEMABINDING 如下: ALTER View [dbo].[视图名]WITH SCHEMABINDINGAs SELECT xxxxxxx GO 2.运行下面的脚本查明聚集索引有多少行以及视图占用多少空间 EXECUTE sp_spaceused 'I视 阅读全文
posted @ 2021-02-22 17:04 三弄梅花 阅读(980) 评论(0) 推荐(0) 编辑
摘要: 1、先安装插件 Vetur 2、找到setting.json文件 "emmet.includeLanguages": { "wxml": "html", "vue": "html", "vue-html": "html" } 按照上面修改即可 阅读全文
posted @ 2021-01-30 20:47 三弄梅花 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 在利用cli创建uniapp项目的时候经常提示Failed fetching remote preset dcloudio/uni-preset-vue:;解决方法如下: 利用github下载:https://github.com/dcloudio/uni-preset-vue 改过之后红色部分替换 阅读全文
posted @ 2021-01-21 10:31 三弄梅花 阅读(6630) 评论(0) 推荐(0) 编辑