<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[CoreCmd的博客]]></title><description><![CDATA[不重复造轮子的前提是，你得先会造轮子]]></description><link>https://blog.youkuaiyun.com/MasterAjoe</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; MasterAjoe]]></copyright><item><title><![CDATA[基于vue3+Typescript+Vite+Pinia+AntDesignVue的后台管理系统前端架子]]></title><link>https://blog.youkuaiyun.com/MasterAjoe/article/details/125952702</link><guid>https://blog.youkuaiyun.com/MasterAjoe/article/details/125952702</guid><author>MasterAjoe</author><pubDate>Sat, 23 Jul 2022 21:07:16 +0800</pubDate><description><![CDATA[基于vue3+Typescript+Vite+Pinia+AntDesignVue的后台管理系统前端架子。]]></description><category></category></item><item><title><![CDATA[Vue使用AntV/G2例子]]></title><link>https://blog.youkuaiyun.com/MasterAjoe/article/details/125146383</link><guid>https://blog.youkuaiyun.com/MasterAjoe/article/details/125146383</guid><author>MasterAjoe</author><pubDate>Mon, 06 Jun 2022 14:39:03 +0800</pubDate><description><![CDATA[Vue项目中使用AntV/G2图表]]></description><category></category></item><item><title><![CDATA[AntDesignVue中树组件默认不展开所有节点问题解决]]></title><link>https://blog.youkuaiyun.com/MasterAjoe/article/details/124896045</link><guid>https://blog.youkuaiyun.com/MasterAjoe/article/details/124896045</guid><author>MasterAjoe</author><pubDate>Sat, 21 May 2022 11:30:23 +0800</pubDate><description><![CDATA[问题描述
在使用Ant-Design-Vue的树组件时，发现根据文档API设置自动展开所有节点属性后，不起作用。后来发现，是因为在初始化的时候数据还没有，所以设置属性就不生效，应该加个判断，等到有数据后，页面再渲染组件就可以了。
有问题的写法
&lt;a-tree
      v-model="selectedMenus"
      :checkable="true"
      selectable="false"
      :defaultExpandAll="true"
      :defaul]]></description><category></category></item><item><title><![CDATA[Java正则校验密码至少包含：字母数字特殊符号中的2种]]></title><link>https://blog.youkuaiyun.com/MasterAjoe/article/details/124748204</link><guid>https://blog.youkuaiyun.com/MasterAjoe/article/details/124748204</guid><author>MasterAjoe</author><pubDate>Fri, 13 May 2022 11:18:03 +0800</pubDate><description><![CDATA[一、语法




字符
说明




\
将下一字符标记为特殊字符、文本、反向引用或八进制转义符。例如， n匹配字符 n。\n 匹配换行符。序列 \\\\ 匹配 \\ ，\\( 匹配 (。


^
匹配输入字符串开始的位置。如果设置了 RegExp 对象的 Multiline 属性，^ 还会与"\n"或"\r"之后的位置匹配。


$
匹配输入字符串结尾的位置。如果设置了 RegExp 对象的 Multiline 属性，$ 还会与"\n"或"\r"之前的位置匹配。


*
零次或多次匹配前面的字符或子表达式]]></description><category></category></item><item><title><![CDATA[Netty实现websocket聊天程序-前端页面]]></title><link>https://blog.youkuaiyun.com/MasterAjoe/article/details/123835310</link><guid>https://blog.youkuaiyun.com/MasterAjoe/article/details/123835310</guid><author>MasterAjoe</author><pubDate>Tue, 29 Mar 2022 23:29:36 +0800</pubDate><description><![CDATA[效果图

main.js
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css'
import vuescroll from "vuescroll"
import "vuescroll/dist/vuescr]]></description><category></category></item><item><title><![CDATA[方舟生存进化秘籍大全]]></title><link>https://blog.youkuaiyun.com/MasterAjoe/article/details/123154120</link><guid>https://blog.youkuaiyun.com/MasterAjoe/article/details/123154120</guid><author>MasterAjoe</author><pubDate>Sat, 26 Feb 2022 18:52:58 +0800</pubDate><description><![CDATA[代码大全
addexperience  10000 0 0 1  ： 给角色加1W经验，可以修改数值
修改人物每升级一次，各种属性的增长倍率
修改文件：\common\ARK\ShooterGame\Saved\Config\WindowsNoEditor\Game.ini,
PerLevelStatsMultiplier_Player[0]=10000.010000      生命
PerLevelStatsMultiplier_Player[1]=10000.010000              耐力]]></description><category></category></item><item><title><![CDATA[CSS实现文件夹效果]]></title><link>https://blog.youkuaiyun.com/MasterAjoe/article/details/122881898</link><guid>https://blog.youkuaiyun.com/MasterAjoe/article/details/122881898</guid><author>MasterAjoe</author><pubDate>Fri, 11 Feb 2022 15:36:37 +0800</pubDate><description><![CDATA[效果图

编写组件
&lt;template&gt;
    &lt;div class="folderContainer"&gt;
        &lt;div class="folder"&gt;
            &lt;div class="front"&gt;&lt;/div&gt;
            &lt;div class="center"&gt;&lt;/div&gt;
            &lt;div class="back"&gt;&lt;/div&gt;
    ]]></description><category></category></item><item><title><![CDATA[基于AntDesignVue的自定义Dropdown下拉选择组件]]></title><link>https://blog.youkuaiyun.com/MasterAjoe/article/details/122745243</link><guid>https://blog.youkuaiyun.com/MasterAjoe/article/details/122745243</guid><author>MasterAjoe</author><pubDate>Sat, 29 Jan 2022 16:50:54 +0800</pubDate><description><![CDATA[组件效果

组件代码
&lt;template&gt;
    &lt;a-dropdown :trigger="[trigger]"&gt;
        &lt;div class="dropdownTitle"&gt;
            &lt;span v-text="defaultText"/&gt;
            &lt;a-icon type="down" /&gt;
        &lt;/div&gt;
        &lt;a-menu slot="overlay"]]></description><category></category></item><item><title><![CDATA[编写Minio JAVA客户端工具类]]></title><link>https://blog.youkuaiyun.com/MasterAjoe/article/details/122690393</link><guid>https://blog.youkuaiyun.com/MasterAjoe/article/details/122690393</guid><author>MasterAjoe</author><pubDate>Tue, 25 Jan 2022 18:40:00 +0800</pubDate><description><![CDATA[Minio JAVA 客户端工具类编写]]></description><category></category></item><item><title><![CDATA[php源码安装报错：fatal error: zipconf.h: No such file or directory]]></title><link>https://blog.youkuaiyun.com/MasterAjoe/article/details/122005002</link><guid>https://blog.youkuaiyun.com/MasterAjoe/article/details/122005002</guid><author>MasterAjoe</author><pubDate>Fri, 17 Dec 2021 21:04:01 +0800</pubDate><description><![CDATA[php安装zip扩展报错：fatal error: zipconf.h: No such file or directory
解决方法
ln -s /usr/local/lib/libzip/include/zipconf.h /usr/local/include


]]></description><category></category></item><item><title><![CDATA[Elasticsearch学习及环境搭建]]></title><link>https://blog.youkuaiyun.com/MasterAjoe/article/details/121157529</link><guid>https://blog.youkuaiyun.com/MasterAjoe/article/details/121157529</guid><author>MasterAjoe</author><pubDate>Fri, 05 Nov 2021 10:15:40 +0800</pubDate><description><![CDATA[0、为啥学习ES
在公司开发一段时间以来，我一直对公司提供的统一日志平台很感兴趣。在容器化部署项目时，我们都没有关心过日志打印到哪里去了，有没有落盘，之后要想查询应用日志，只需要去统一日志平台页面搜索一下就完事儿了。
但是一直没有想过这个是怎么实现的。
通过研究发现，目前的日志之所以能从日志平台搜索到，我了解的大概有2个途径：
1、日志落盘帮到某个路径下，然后采集工具（例如logstash、filebeat）采集路径下的日志数据推送给elasticsearch
2、在项目中引入统一日志平台的开发jar包依赖]]></description><category></category></item><item><title><![CDATA[Elasticsearch-Java高级API的简单使用]]></title><link>https://blog.youkuaiyun.com/MasterAjoe/article/details/121062498</link><guid>https://blog.youkuaiyun.com/MasterAjoe/article/details/121062498</guid><author>MasterAjoe</author><pubDate>Sun, 31 Oct 2021 12:37:41 +0800</pubDate><description><![CDATA[package com.corecmd.webapp.tiansjportal;

import com.alibaba.fastjson.JSON;
import com.corecmd.webapp.tiansjportal.common.enums.ResourceTypeEnum;
import com.corecmd.webapp.tiansjportal.common.utils.DateUtil;
import com.corecmd.webapp.tiansjportal.elasticse]]></description><category></category></item><item><title><![CDATA[jenkins构建springboot项目后，docker部署项目脚本]]></title><link>https://blog.youkuaiyun.com/MasterAjoe/article/details/120691382</link><guid>https://blog.youkuaiyun.com/MasterAjoe/article/details/120691382</guid><author>MasterAjoe</author><pubDate>Sun, 10 Oct 2021 20:12:09 +0800</pubDate><description><![CDATA[Dockerfile
#基于Java8的基础镜像
FROM java:8
#作者
MAINTAINER CoreCmd&lt;corecmd@163.com&gt;
#将jar包添加到容器中的特定目录，并改名为cicd-demo.jar
ADD target/cicd-demo-0.0.1-SNAPSHOT.jar /opt/app/cicd-demo.jar
#运行jar包
ENTRYPOINT ["nohup","java","-jar","/opt/app/cicd-demo.jar","&amp;"]]></description><category></category></item><item><title><![CDATA[redis实现mybatis自定义缓存]]></title><link>https://blog.youkuaiyun.com/MasterAjoe/article/details/120138584</link><guid>https://blog.youkuaiyun.com/MasterAjoe/article/details/120138584</guid><author>MasterAjoe</author><pubDate>Mon, 06 Sep 2021 16:28:25 +0800</pubDate><description><![CDATA[package com.corecmd.webapp.tiansjportal.common.utils;

import lombok.extern.slf4j.Slf4j;
import org.apache.commons.codec.digest.DigestUtils;
import org.apache.ibatis.cache.Cache;
import org.springframework.data.redis.core.RedisTemplate;
import org.springfr]]></description><category></category></item><item><title><![CDATA[资源评论列表查询设计]]></title><link>https://blog.youkuaiyun.com/MasterAjoe/article/details/119918877</link><guid>https://blog.youkuaiyun.com/MasterAjoe/article/details/119918877</guid><author>MasterAjoe</author><pubDate>Wed, 25 Aug 2021 20:29:15 +0800</pubDate><description><![CDATA[资源评论列表查询设计
评论信息数据结构
public class CommentInfoDO {
    //评论id
    private int commentId;
    //评论内容
    private String content;
    //评论人在本系统的id  登录后可以取得
    private int authorSysId;
    //评论人网址
    private int authorPortalUrl;
    //评论人邮箱
    private int au]]></description><category></category></item><item><title><![CDATA[CSS实现聊天气泡]]></title><link>https://blog.youkuaiyun.com/MasterAjoe/article/details/119459870</link><guid>https://blog.youkuaiyun.com/MasterAjoe/article/details/119459870</guid><author>MasterAjoe</author><pubDate>Fri, 06 Aug 2021 17:21:32 +0800</pubDate><description><![CDATA[效果图

HTML代码
&lt;a-row :gutter="10"&gt;
      &lt;a-col :span="24" style="margin-bottom: 10px"&gt;
        &lt;div class="chat-bubble chat-bubble-left"&gt;
          &lt;span&gt;收到一条消息&lt;/span&gt;
        &lt;/div&gt;
      &lt;/a-col&gt;
      &lt;a-col :]]></description><category></category></item><item><title><![CDATA[基于AntDesign Vue的响应式登录页面]]></title><link>https://blog.youkuaiyun.com/MasterAjoe/article/details/118642717</link><guid>https://blog.youkuaiyun.com/MasterAjoe/article/details/118642717</guid><author>MasterAjoe</author><pubDate>Sat, 10 Jul 2021 23:39:22 +0800</pubDate><description><![CDATA[为了做一个自己的前后端分离的后台管理系统，特地做了一下登录页面。大概的架子如下，后面需要替换一下顶部导航的信息。先大概贴一下代码，以后直接复制使用。整体的布局是自己写的样式，如果后面要替换为其他的UI框架，比如element ui 、 iview，只需要替换表单元素之类的东西，少量替换即可。



代码如下：
&lt;template&gt;
    &lt;div id="login" class="loginContainer"&gt;
        &lt;div class="loginHeade]]></description><category></category></item><item><title><![CDATA[自定义MyBatis缓存，用Redis实现Mybatis的二级缓存]]></title><link>https://blog.youkuaiyun.com/MasterAjoe/article/details/118638088</link><guid>https://blog.youkuaiyun.com/MasterAjoe/article/details/118638088</guid><author>MasterAjoe</author><pubDate>Sat, 10 Jul 2021 17:32:09 +0800</pubDate><description><![CDATA[在Mapper文件中，指定命名空间下的缓存实现方式
&lt;!-- 开启本mapper namespace下的二级缓存 --&gt;
    &lt;cache type="com.corecmd.webapp.tiansjportal.common.utils.MyBatisRedisCache"/&gt;

缓存实现类：
package com.corecmd.webapp.tiansjportal.common.utils;

import lombok.extern.slf4j.Slf4j;
imp]]></description><category></category></item><item><title><![CDATA[API限流-利用Redis限制API在X分钟内的调用次数]]></title><link>https://blog.youkuaiyun.com/MasterAjoe/article/details/118493009</link><guid>https://blog.youkuaiyun.com/MasterAjoe/article/details/118493009</guid><author>MasterAjoe</author><pubDate>Mon, 05 Jul 2021 16:40:05 +0800</pubDate><description><![CDATA[背景
在对外开放我们的API的时候，有时候API调用不一定是来自于我们的APP或者网站。若是一个资源网站，极有可能会遇到爬虫来盗刷我们的数据。导致短时间内API的调用猛增，耗费服务器资源。因此需要在某些需要查数据库、文件等的API处，增加API调用频率限制。
我的思路
某API   1分钟内调用次数限制思路 ---- 利用redis进行限流。
** 若是负载均衡的api，则在进行判断的时候，要用redis提供的分布式锁setnx进行互斥执行以下步骤**
假设API的地址为：  /api/resource/l]]></description><category></category></item><item><title><![CDATA[各种前端模板]]></title><link>https://blog.youkuaiyun.com/MasterAjoe/article/details/118486156</link><guid>https://blog.youkuaiyun.com/MasterAjoe/article/details/118486156</guid><author>MasterAjoe</author><pubDate>Mon, 05 Jul 2021 11:16:36 +0800</pubDate><description><![CDATA[标准色板

扩展色板


]]></description><category></category></item></channel></rss>