- 博客(18)
- 收藏
- 关注
原创 vue3 解决ionic安卓版顶部状态栏空白问题
解决:引入@capacitor/status-bar。在需要设置状态栏的组件上设置背景跟颜色即可。
2024-02-07 10:43:47
586
1
原创 ionic报错:Cannot read properties of undefined (reading ‘classList‘)
【代码】ionic报错:Cannot read properties of undefined (reading ‘classList‘)
2024-02-06 16:43:55
717
1
原创 使用clickhouse MaterializedPostgreSQL同步数据,导致pg占用CPU资源高
我这边分析SQL是发现clickhouse的MaterializedPostgreSQL同步数据导致pg占用CPU资源过高,停止了具体的表数据同步,使用其他方式同步数据。复制查询的SQL,查看具体连接的IP和执行SQL。
2023-05-05 11:18:10
785
原创 window环境下达梦8数据库读写分离集群搭建测试
感谢@Panthom_w大神资料做的贡献windows达梦7读写分离集群搭建达梦官网读写分离集群搭建前言因为公司业务要求使用到国产达梦数据库,并要求做读写分离集群要求,也因为达梦数据库现在网上资料比较少,所以就为了后续能帮助需要帮助的人,做出一点点贡献吧,写一下自己搭建的过程一、条件准备1.服务器准备三台win10环境的服务器。我准备的是公司内网访问的三台服务器。1.达梦8环境准备在三台服务器上部署统一版本的达梦8数据库,要不然后期就会遇到我没遇见的遇见的错误,后面会贴出报错过程。注意一
2021-09-29 15:16:10
670
原创 oauth2 单点登录报错
Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘OAuth2SsoClientCustomConfiguration’: Unsatisfied dependency expressed through
2021-04-21 14:37:40
679
原创 springboot 请求python rest 接口报错
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><title>Redirecting...</title><h1>Redirecting...</h1><p>You should be redirected automatically to target URL: <a href="http://192.168.15.52:5010/api/model/">.
2020-11-13 08:45:40
2551
原创 uniapp的renderjs模式下 子组件是renderjs模式,父组件是常规组件,相互传值问题
常规的组件传值在uniapp下是可以正常使用的,但是在组件中使用了renderjs模式,常规的通讯就不起作用了。我是参照了官网的例子进行修改的https://uniapp.dcloud.io/frame?id=renderjs;<template> <view class="content"> <!-- #ifdef APP-PLUS || H5 --> <view @click="echarts.onClick" :prop="option" :cha
2020-07-02 11:32:17
12231
8
原创 axios报错
报错 axios报错:TypeError: Cannot read property ‘cancelToken’ of undefined解决:1.应该是没有返回数据2.是请求的函数写错例如:正确的是:
2020-06-22 11:19:29
306
原创 bootstrapValidator重复验证会出现无法验证,undefined
解决办法:保证 $("#waterAnalyzeInput #waterAnalyzeform").bootstrapValidator({…})每次加载页面都可以被加载
2019-04-25 15:32:58
1490
2
原创 Git 常用命令
1.配置用户名和邮箱git config --global user.name "Kirk"git config --global user.email "9123@qq.com"2.创建文件夹mkdir test3.显示当前目录pwd4.把目录变成git可以管理的仓库git init5.添加文件到暂存区git add 文件名6.把文件提交到仓库git commit -m "注释"7.查看文件
2017-12-16 23:16:03
214
原创 springboot 自定义权限标签(tld),在freemarker引用
第一步:引入jar包 <dependency> <groupId>javax.servlet.jsp</groupId> <artifactId>jsp-api</artifactId> <version>2.2.1-b03</version> </dependency> 第二步:自定义标签类im
2017-09-25 15:36:27
7756
原创 redisTemplate.keys(pattern)模糊查询找不到keys
在使用redisTemplate.keys查找keys时,发现明明相应的key是存在的,模糊查询就是查找不出来;原因有二: 1.确定你的查询字符串是否正确 2.就是的你key值有可能是乱码了就是遇到\xca\xed加上你key之类的乱码!例如:这里写图片描述 你需要重新定义key @Bean public RedisTemplate<String, String> redisTem
2017-09-15 11:57:06
47521
原创 CAS 登录一个app1 了,点击App 2还是要登录,没法无缝登录
因为我没有使用https协议,使用的是http协议,而CAS里面的https协议没有进行修改导致的 1修改cas server \ WEB-INF\deployerConfigContext.xml配置文件<bean id="proxyAuthenticationHandler" class="org.jasig.cas.authentication.handler.supp
2017-09-11 17:23:28
1216
原创 springboot 报错Field XXX required a bean of type XXX that could not be found.
例如:Description:Field menuService in com.goodidea.sso.controller.MenuController required a bean of type 'com.goodidea.sso.service.MenuService' that could not be found.Action:Consider defining a bean of
2017-09-06 09:59:22
65433
9
原创 springboot 分页(page)
第一步:在Repository继承JpaSpecificationExecutor接口,PagingAndSortingRepository接口 例如: 第二步:实现service分页业务@Override public Map<String, Object> findPagebyConn(SystemsForm form) throws Exception { Page
2017-09-05 11:23:50
9773
1
原创 Springboot filter 拦截指定的路径(注入spring Bean方式)
第一步:创建过滤器,引入beanpublic class SystemUrlFilter implements Filter { @Autowired private UserService userService; private String[] prefixIignores ; private String ignoresParam; @Override
2017-09-05 11:13:36
14848
转载 Redis缓存方法封装
@Autowired private RedisTemplate redisTemplate; @Override public void deleteByPrex(String prex) { Set<String> keys=redisTemplate.keys(prex+"*"); redisTemplate.delete(keys);
2017-09-05 11:01:25
906
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人