<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[jaquechen的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/jaquechen</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; jaquechen]]></copyright><item><title><![CDATA[希尔排序初尝试]]></title><link>https://blog.youkuaiyun.com/jaquechen/article/details/121564328</link><guid>https://blog.youkuaiyun.com/jaquechen/article/details/121564328</guid><author>jaquechen</author><pubDate>Fri, 26 Nov 2021 17:03:42 +0800</pubDate><description><![CDATA[控制层
package UserInfo.Controller;

import java.util.List;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.w]]></description><category></category></item><item><title><![CDATA[JAVA思想之工厂模式]]></title><link>https://blog.youkuaiyun.com/jaquechen/article/details/116120129</link><guid>https://blog.youkuaiyun.com/jaquechen/article/details/116120129</guid><author>jaquechen</author><pubDate>Sun, 25 Apr 2021 11:09:16 +0800</pubDate><description><![CDATA[1、基本的工厂模式设计流程


package com.factory;

public class shape {
    public interface Shape {
        void draw();
    }

    public static class Rectangle implements Shape {

        public void draw() {
            System.out.println("Rectangle===========&gt;.]]></description><category></category></item><item><title><![CDATA[三层架构]]></title><link>https://blog.youkuaiyun.com/jaquechen/article/details/115863758</link><guid>https://blog.youkuaiyun.com/jaquechen/article/details/115863758</guid><author>jaquechen</author><pubDate>Mon, 19 Apr 2021 14:19:40 +0800</pubDate><description><![CDATA[java三层架构思维体系

后端代码的编写随着技术的进步，大致分为三层架构，分别是：

表示层(UI)

业务逻辑层（BLL）

数据访问层（DAL）

三层架构区分层次的目的是为了 “高内聚，低耦合”。开发人员分工更明确，将精力更专注于应用系统核心业务逻辑的分析、设计和开发，加快项目的进度，提高了开发效率，有利于项目的更新和维护工作。

表示层是程序代码的输入和输出部分，负责将用户指令输入到系统内，并调用业务层的方法处理不同的用户指令，以传达并得到接口指令反馈的信息

数据访问层则是代码业务逻辑的处理部分]]></description><category></category></item><item><title><![CDATA[小程序背景图问题]]></title><link>https://blog.youkuaiyun.com/jaquechen/article/details/115346865</link><guid>https://blog.youkuaiyun.com/jaquechen/article/details/115346865</guid><author>jaquechen</author><pubDate>Wed, 31 Mar 2021 11:47:12 +0800</pubDate><description><![CDATA[看了很多博客说什么小程序图片设为背景图将不会被打包，其实是错误的，本地调试时取的图片地址是相对地址，这就发布后图片存在而相对地址错误，我尝试着用过require模块化导入图片，但是失败了，最后决定为线上的根路径地址去获取图片，结果成功了 ，很庆幸这次的经历，特写此博客以示成果
...]]></description><category></category></item><item><title><![CDATA[处理动态表格数据]]></title><link>https://blog.youkuaiyun.com/jaquechen/article/details/114915581</link><guid>https://blog.youkuaiyun.com/jaquechen/article/details/114915581</guid><author>jaquechen</author><pubDate>Wed, 17 Mar 2021 09:07:23 +0800</pubDate><description><![CDATA[let arr = [{formName:'测试',formArr:'666',childList:[{test:'李立明',test1:"支持"},{test:"张毅",test1:"不支持"}]},{formName:'测试1',formArr:'999',childList:[{test:'李维',test1:"支持"},{test:"张毅",test1:"不支持"}]},{formName:'测试',formArr:'666',childList:[{test:'李立明',test1:"支持"},.]]></description><category></category></item><item><title><![CDATA[js 在字符串中快速查找字符串并指出对应的起始位置和结束位置]]></title><link>https://blog.youkuaiyun.com/jaquechen/article/details/114635024</link><guid>https://blog.youkuaiyun.com/jaquechen/article/details/114635024</guid><author>jaquechen</author><pubDate>Wed, 10 Mar 2021 14:38:12 +0800</pubDate><description><![CDATA[let a = 'dafdsafasdfadgdafasfsagadfasfsafsadfs';
let str = 'af';
let b = a.indexOf(str);
let i = 0;
while(a.indexOf(str,i) !== -1){
console.log("开始",i);
console.log("起始位置",a.indexOf(str,i));
console.log("结束位置",a.indexOf(str,i) + str.length - 1);
  i = a.i.]]></description><category></category></item><item><title><![CDATA[将数组数据重新整合相同的放一起------记录算法]]></title><link>https://blog.youkuaiyun.com/jaquechen/article/details/114026621</link><guid>https://blog.youkuaiyun.com/jaquechen/article/details/114026621</guid><author>jaquechen</author><pubDate>Wed, 24 Feb 2021 16:31:48 +0800</pubDate><description><![CDATA[一:将for一次执行完



let arr = [1,7,8,1,2,3,2,3,3,2,6,7,1];
let arrT = {};
let arrS = {};
for(let i=0;i&lt;arr.length;i++){
    if( i===0 || !arrS[arr[i]]){
        arrS[arr[i]] = true;
        arrT[arr[i]] = [];
    }
arrT[arr[i]].push(arr[i]);
}
let newArr = .]]></description><category></category></item><item><title><![CDATA[2021-02-05]]></title><link>https://blog.youkuaiyun.com/jaquechen/article/details/113696796</link><guid>https://blog.youkuaiyun.com/jaquechen/article/details/113696796</guid><author>jaquechen</author><pubDate>Fri, 05 Feb 2021 18:02:55 +0800</pubDate><description><![CDATA[初探TS自我提升TS知识体系类类继承公共，私有与受保护的修饰符默认为 public
自我提升TS知识体系
类
传统的JavaScript程序使用函数和基于原型的继承来创建可重用的组件，但对于熟悉使用面向对象方式的程序员来讲就有些棘手，因为他们用的是基于类的继承并且对象是由类构建出来的。 从ECMAScript 2015，也就是ECMAScript 6开始，JavaScript程序员将能够使用基于类的面向对象的方式。 使用TypeScript，我们允许开发者现在就使用这些特性，并且编译后的JavaScript]]></description><category></category></item><item><title><![CDATA[前端工程化]]></title><link>https://blog.youkuaiyun.com/jaquechen/article/details/113657688</link><guid>https://blog.youkuaiyun.com/jaquechen/article/details/113657688</guid><author>jaquechen</author><pubDate>Thu, 04 Feb 2021 17:20:18 +0800</pubDate><description><![CDATA[&nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 很久没写过博客沉淀下，最近看了几篇前端工程化的文章，结合自己实践所学，阐述下什么是前端工程化。
大前端其实分为很多种&nbsp;
移动应用开.]]></description><category></category></item><item><title><![CDATA[初探TS]]></title><link>https://blog.youkuaiyun.com/jaquechen/article/details/113601665</link><guid>https://blog.youkuaiyun.com/jaquechen/article/details/113601665</guid><author>jaquechen</author><pubDate>Wed, 03 Feb 2021 14:00:45 +0800</pubDate><description><![CDATA[初学TypeScript自我提升TS知识体系TypeScript的类型定义功能快捷键合理的创建标题，有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右SmartyPants创建一个自定义列表如何创建一个注脚注释也是必不可少的KaTeX数学公式新的甘特图功能，丰富你的文章UML 图表FLowchart流程图导出与导入导出导入
自我提升TS知识体系
TypeScript的类型定义

TypeScript定义变量时必须明确给出变量类型如]]></description><category></category></item><item><title><![CDATA[云服务器初尝试]]></title><link>https://blog.youkuaiyun.com/jaquechen/article/details/108283021</link><guid>https://blog.youkuaiyun.com/jaquechen/article/details/108283021</guid><author>jaquechen</author><pubDate>Fri, 28 Aug 2020 17:29:50 +0800</pubDate><description><![CDATA[1、购买云服务器，各个云服务器供应商都提供免费一个月的服务器租用，可以续期。
2、配置安全组修改规则，可以通过任何ip访问主要是开放端口号设置如:TCP:8080
3、登陆服务器实例，可修改实例密码，我买的是linux的服务器，随意服务器实例环境是CentoOs7
  建议熟悉下linux命令:
                  1、pwd:查看工作目录
                  2、ls:查看当前目录下的文件及问...]]></description><category></category></item><item><title><![CDATA[IDE idea java报错不支持发行版]]></title><link>https://blog.youkuaiyun.com/jaquechen/article/details/106414658</link><guid>https://blog.youkuaiyun.com/jaquechen/article/details/106414658</guid><author>jaquechen</author><pubDate>Thu, 28 May 2020 22:14:33 +0800</pubDate><description><![CDATA[打开setting设置 =&gt; Build,Execution,Deployment =&gt; Compiler =&gt; Java Compiler
将Project bytecode version改成相对应的java版本号
打开Project Structure =&gt; Modules =&gt; Sources =&gt; Language level改成相应的java版本即可
]]></description><category></category></item><item><title><![CDATA[使用@Autowired注解引入server服务层方法时报错]]></title><link>https://blog.youkuaiyun.com/jaquechen/article/details/106314745</link><guid>https://blog.youkuaiyun.com/jaquechen/article/details/106314745</guid><author>jaquechen</author><pubDate>Sun, 24 May 2020 15:11:02 +0800</pubDate><description><![CDATA[contentTypeService in com.example.demo001.controller.ContentTypeController required a bean of type 'com.example.demo001.service.ContentTypeService' that could not be found
网上搜的方法：还行
方式一：@Autowried(required = false)设置required属性值为false，错误消失
方式二：用@Resource注解替]]></description><category></category></item><item><title><![CDATA[初使用ant-design-vue问题集锦]]></title><link>https://blog.youkuaiyun.com/jaquechen/article/details/106120311</link><guid>https://blog.youkuaiyun.com/jaquechen/article/details/106120311</guid><author>jaquechen</author><pubDate>Thu, 14 May 2020 15:13:16 +0800</pubDate><description><![CDATA[1、webpack编译时报错，主要发生在批量导入时less问题，按文档做了配置调整，但有时候会一直报错。
解决：将less版本和less-loader版本修改"less":"^3.0.4", "less-loader":"^5.0.0",问题解决。

2、批量导入时layout组件的下的content、header、sider、footer等批量引入的问题
解决：引入Layout后，用.链接下面content如 const LayoutContent = Layout.Content,再将组件写入com..]]></description><category></category></item><item><title><![CDATA[修改mysql时区]]></title><link>https://blog.youkuaiyun.com/jaquechen/article/details/105744473</link><guid>https://blog.youkuaiyun.com/jaquechen/article/details/105744473</guid><author>jaquechen</author><pubDate>Sat, 25 Apr 2020 09:00:35 +0800</pubDate><description><![CDATA[使用: show variables like '%tiem_zone%'; 查看mysql时区

打印出来的两行没别是 Variable_name和Value

#time_zone说明mysql使用的是system的时区，system_time_zone说明system使用的是CST时区

修改时区

set global time_zone = '+8:00'; ##修改mysql全局...]]></description><category></category></item><item><title><![CDATA[springboot你的爸爸又回来了]]></title><link>https://blog.youkuaiyun.com/jaquechen/article/details/105724469</link><guid>https://blog.youkuaiyun.com/jaquechen/article/details/105724469</guid><author>jaquechen</author><pubDate>Fri, 24 Apr 2020 10:05:44 +0800</pubDate><description><![CDATA[这次我们直接上代码，来看看我苦心经营的成就。


&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLoc...]]></description><category></category></item><item><title><![CDATA[jquery写原始的pc页面的感触]]></title><link>https://blog.youkuaiyun.com/jaquechen/article/details/105628938</link><guid>https://blog.youkuaiyun.com/jaquechen/article/details/105628938</guid><author>jaquechen</author><pubDate>Mon, 20 Apr 2020 10:50:38 +0800</pubDate><description><![CDATA[最近写了个原生界面，一直用框架写东西也难得换换口味，至于为什么不用框架，东西太小用框架写有点杀鸡用牛刀不太适合，记录一下，或与日后再看到会有些许感触，

1、界面在body标签出写了个id，用jq的DOM操作append()在此节点下添加了let child = `&lt;div&gt;内容&lt;/div&gt;`，在这里面用函数传值是不用任何字符串，如在全局定义一个参数 let param =...]]></description><category></category></item><item><title><![CDATA[前端小程序多端框架个人写的小demo涉及taro、uni-app、mpx。github自取]]></title><link>https://blog.youkuaiyun.com/jaquechen/article/details/105484445</link><guid>https://blog.youkuaiyun.com/jaquechen/article/details/105484445</guid><author>jaquechen</author><pubDate>Mon, 13 Apr 2020 11:17:23 +0800</pubDate><description><![CDATA[taro小demo地址 https://github.com/CQCcq/personalTaro

uni-app小demo地址 https://github.com/CQCcq/personalUniApp

mpx小demo地址 https://github.com/CQCcq/personalMpx
]]></description><category></category></item><item><title><![CDATA[taro初使用]]></title><link>https://blog.youkuaiyun.com/jaquechen/article/details/105112190</link><guid>https://blog.youkuaiyun.com/jaquechen/article/details/105112190</guid><author>jaquechen</author><pubDate>Thu, 26 Mar 2020 10:34:53 +0800</pubDate><description><![CDATA[npm install taro-ui报Maximum call stack size exceeded报错日志内容如下


0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Users\11691\AppData\Roaming\np...]]></description><category></category></item><item><title><![CDATA[如何在云函数端获取小程序用户信息（openid 和 appid）]]></title><link>https://blog.youkuaiyun.com/jaquechen/article/details/103927830</link><guid>https://blog.youkuaiyun.com/jaquechen/article/details/103927830</guid><author>jaquechen</author><pubDate>Fri, 10 Jan 2020 17:26:10 +0800</pubDate><description><![CDATA[上一篇我们简单介绍了云函数，这一篇让我走进云函数开发者可以在云函数内使用wx-server-sdk提供的getWXContext方法获取到每次调用的上下文（appid、openid等），按上一步的操作我截图如下




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