<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[焱少的博客]]></title><description><![CDATA[ 斜阳柳边自落 听幽禽两两 沙际停泊]]></description><link>https://blog.youkuaiyun.com/Yan_Less</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; Yan_Less]]></copyright><item><title><![CDATA[openApi@Test测试接口通用方法]]></title><link>https://blog.youkuaiyun.com/Yan_Less/article/details/105281739</link><guid>https://blog.youkuaiyun.com/Yan_Less/article/details/105281739</guid><author>Yan_Less</author><pubDate>Thu, 02 Apr 2020 22:57:22 +0800</pubDate><description><![CDATA[做个笔记，用的着的直接复制粘贴

/**
 * @author 
 */
@Slf4j
public class ExperienceControllerTest {

    @Test
    public void testqueryLevels() {
    public void queryMemberInfo() {
        params.put("appKey", "lgm...]]></description><category></category></item><item><title><![CDATA[Java微信表情包字符处理，数据库存储以及转义解决方式]]></title><link>https://blog.youkuaiyun.com/Yan_Less/article/details/104969206</link><guid>https://blog.youkuaiyun.com/Yan_Less/article/details/104969206</guid><author>Yan_Less</author><pubDate>Thu, 19 Mar 2020 15:55:17 +0800</pubDate><description><![CDATA[问题：
日常问题解决落地
方法一：修改数据库表编码格式 ，原来格式为utf-8，这种编码格式是没有办法存储表情包字符，utf-8编码一个字符是一到三个字节，表情包字符是四个字节，插入时会报错，可以改成utf8mb4，此方法不再讲述。
方法二：引入大牛写的工具类
最朴实的办法，是大家去看看源码，知其所以然。
参考地址：https://github.com/vdurmont/emoji-java
代码...]]></description><category></category></item><item><title><![CDATA[Nginx常用操作命令]]></title><link>https://blog.youkuaiyun.com/Yan_Less/article/details/103739643</link><guid>https://blog.youkuaiyun.com/Yan_Less/article/details/103739643</guid><author>Yan_Less</author><pubDate>Fri, 27 Dec 2019 23:25:00 +0800</pubDate><description><![CDATA[Nginx常用操作命令
必须在nginx目录下才能进行相关操作
1.查看nginx版本号
./nginx -v
2.启动nginx
./nginx
3.关闭nginx
./nginx -s stop
4.重新启动nginx
./nginx -s reload

]]></description><category></category></item><item><title><![CDATA[Postman调用接口传递Date格式参数时，参数定义规则]]></title><link>https://blog.youkuaiyun.com/Yan_Less/article/details/103494993</link><guid>https://blog.youkuaiyun.com/Yan_Less/article/details/103494993</guid><author>Yan_Less</author><pubDate>Wed, 11 Dec 2019 16:32:30 +0800</pubDate><description><![CDATA[Postman调用接口传递Date格式参数
{
“data”:[{
“receipterId”:“1809”,
“payerName”:“1111”,
“fundUsageCode”:“101”
}],
“addedTime”:“2019-12-04T00:00:00Z”
}
时间格式中间加“T”，末尾加“Z”即可解决服务端无法正确解析传递参数问题！
具体原因是Jason只支持一下几种格式：
“y...]]></description><category></category></item><item><title><![CDATA[软件开发及工作常用的几个网站和工具]]></title><link>https://blog.youkuaiyun.com/Yan_Less/article/details/102743873</link><guid>https://blog.youkuaiyun.com/Yan_Less/article/details/102743873</guid><author>Yan_Less</author><pubDate>Fri, 25 Oct 2019 15:27:31 +0800</pubDate><description><![CDATA[秘迹搜索：https://mijisou.com（一款无敌有良心、无敌安全的搜索引擎，不会收集私人信息，保护私隐，没有Cookie，并且秘迹搜索聚合了百度、360、Bing、搜狗等搜索结果）
小白盘：https://www.xiaobaipan.com（度盘资源搜索的网站，能够搜索电影、电视剧、小说、音乐等资源（注意：评论区很多小伙伴说小白盘有毒，我用谷歌浏览器搜索过几次并无大碍，请慎用！））
D...]]></description><category></category></item><item><title><![CDATA[关于Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource]]></title><link>https://blog.youkuaiyun.com/Yan_Less/article/details/102718186</link><guid>https://blog.youkuaiyun.com/Yan_Less/article/details/102718186</guid><author>Yan_Less</author><pubDate>Thu, 24 Oct 2019 10:43:42 +0800</pubDate><description><![CDATA[Description:
Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine a suitable driver class
Action:
Consider the...]]></description><category></category></item><item><title><![CDATA[关于解决outLook无法打开新的窗口&&outlook总是提示输入密码]]></title><link>https://blog.youkuaiyun.com/Yan_Less/article/details/102702111</link><guid>https://blog.youkuaiyun.com/Yan_Less/article/details/102702111</guid><author>Yan_Less</author><pubDate>Wed, 23 Oct 2019 15:20:17 +0800</pubDate><description><![CDATA[非法关机导致Outlook200无法正常启动，运行Outlook，界面显示“无法启动microsoft office outlook ，无法打开outlook窗口”的错误信息。
1.首先到你的Office目录下找到有一个名字叫： scanpst.exe 的程序,运行这个程序，选中你的邮件文件（XXX.pst）文件进行修复.
2.使用cmd，将当前路径切到Office的安装目录(eg-…Office...]]></description><category></category></item><item><title><![CDATA[JS -创建List集合-转json用ajax传数据到后台，后台接受数据]]></title><link>https://blog.youkuaiyun.com/Yan_Less/article/details/102701320</link><guid>https://blog.youkuaiyun.com/Yan_Less/article/details/102701320</guid><author>Yan_Less</author><pubDate>Wed, 23 Oct 2019 14:56:14 +0800</pubDate><description><![CDATA[前台组装参数
//取easyUi多选行数据
	var row = $('#tbl_finReceipt').datagrid('getSelections');
	//取form表单数据
	var formParam = new FormData($("#frm_finReceipt_usageList")[0]);
	//创建数组
	var param = new Array();
	//装载数...]]></description><category></category></item><item><title><![CDATA[UTF-8和GBK编码下JS计算实际字符串长度]]></title><link>https://blog.youkuaiyun.com/Yan_Less/article/details/102504732</link><guid>https://blog.youkuaiyun.com/Yan_Less/article/details/102504732</guid><author>Yan_Less</author><pubDate>Fri, 11 Oct 2019 16:59:48 +0800</pubDate><description><![CDATA[开发过程需要校验前台输入的字符串长度，以保证传到后台的字符串长度不超过数据库字段的限制，当中英文字符混合在一起的时候，采用此种方法可以直接计算字符串实际长度，便于校验过滤！
// UTF8字符集实际长度计算
function getStrLeng(str){
    var realLength = 0;
    var len = str.length;
    var charCode = -...]]></description><category></category></item><item><title><![CDATA[easyui-textbox 清空问题]]></title><link>https://blog.youkuaiyun.com/Yan_Less/article/details/100939103</link><guid>https://blog.youkuaiyun.com/Yan_Less/article/details/100939103</guid><author>Yan_Less</author><pubDate>Tue, 17 Sep 2019 20:42:54 +0800</pubDate><description><![CDATA[easyui-textbox 清空问题
$("#id").val("")不起作用后来才发现要用一下方法
var value = $("#id").textbox(‘getValue’)  //获取值
$("#id").textbox(‘setValue’,’’)清空文本框
而$(’#form’).form(‘clear’);并不适用，会清除所有数据，对话框不关闭，下一个输入值无法正确获取

...]]></description><category></category></item><item><title><![CDATA[idea+ftp文件服务器下载文件时-中文名乱码]]></title><link>https://blog.youkuaiyun.com/Yan_Less/article/details/94435069</link><guid>https://blog.youkuaiyun.com/Yan_Less/article/details/94435069</guid><author>Yan_Less</author><pubDate>Tue, 02 Jul 2019 11:09:19 +0800</pubDate><description><![CDATA[这个问题很简单，刚开始以为是本地文件修改了。后来在不同的环境测试发现别的环境是好的，然后本地是坏的，我用的Tomcat服务器，上传文件的时候，没有设置服务器编码格式为utf-8.
tomcat字符集编码格式没统一， 修改配置文件server.xml文件 添加URIEncoding=“utf-8”
&lt;Connector port="8088" protocol="HTTP/1.1" maxTh...]]></description><category></category></item><item><title><![CDATA[Spring的@Bean注解使用]]></title><link>https://blog.youkuaiyun.com/Yan_Less/article/details/88823345</link><guid>https://blog.youkuaiyun.com/Yan_Less/article/details/88823345</guid><author>Yan_Less</author><pubDate>Tue, 26 Mar 2019 16:20:36 +0800</pubDate><description><![CDATA[Spring的@Bean注解用于告诉方法，产生一个Bean对象，然后这个Bean对象交给Spring管理。产生这个Bean对象的方法Spring只会调用一次，随后这个Spring将会将这个Bean对象放在自己的IOC容器中。
@Service
public class BeanTest {
@Bean
public   BeanTest  getBean(){
    BeanTest bean ...]]></description><category></category></item><item><title><![CDATA[Java 中Map map = new HashMap()与HashMap map = new HashMap()区别]]></title><link>https://blog.youkuaiyun.com/Yan_Less/article/details/88819504</link><guid>https://blog.youkuaiyun.com/Yan_Less/article/details/88819504</guid><author>Yan_Less</author><pubDate>Tue, 26 Mar 2019 14:23:23 +0800</pubDate><description><![CDATA[Map 是接口 不能实例化的 ，只能使用其实现类来实例化，即Map map=new Map();是错误的
HashMap Map接口的实现类

用接口定义比较灵活以后少改动，是OOP的好习惯。
定义的时候用MAP实例化为HashMap，万一以后要改成Hashtable，产生的改动少。
Map map=new HashMap(); 就是将map实例化成一个hashMap。这样做的好处是调用者不需要知...]]></description><category></category></item><item><title><![CDATA[@Transactional(rollbackFor=Exception.class)的使用]]></title><link>https://blog.youkuaiyun.com/Yan_Less/article/details/88792237</link><guid>https://blog.youkuaiyun.com/Yan_Less/article/details/88792237</guid><author>Yan_Less</author><pubDate>Mon, 25 Mar 2019 13:44:40 +0800</pubDate><description><![CDATA[java阿里巴巴规范提示：方法【edit】需要在Transactional注解指定rollbackFor或者在方法中显示的rollback。
1.异常的分类
先来看看异常的分类
error是一定会回滚的
这里Exception是异常，他又分为运行时异常RuntimeException和非运行时异常

可查的异常（checked exceptions）:Exception下除了RuntimeExce...]]></description><category></category></item><item><title><![CDATA[Java中List，Set和Map详解及其区别和使用场景]]></title><link>https://blog.youkuaiyun.com/Yan_Less/article/details/88566325</link><guid>https://blog.youkuaiyun.com/Yan_Less/article/details/88566325</guid><author>Yan_Less</author><pubDate>Fri, 15 Mar 2019 09:49:15 +0800</pubDate><description><![CDATA[Java中List，Set和Map详解及其区别和使用场景（转）
Java中的集合包括三大类，它们是Set（集）、List（列表）和Map（映射），它们都处于java.util包中，Set、List和Map都是接口，它们有各自的实现类。Set的实现类主要有HashSet和TreeSet，List的实现类主要有ArrayList，Map的实现类主要有HashMap和TreeMap。
Collectio...]]></description><category></category></item><item><title><![CDATA[mail from address must be same as authorization user]]></title><link>https://blog.youkuaiyun.com/Yan_Less/article/details/78586782</link><guid>https://blog.youkuaiyun.com/Yan_Less/article/details/78586782</guid><author>Yan_Less</author><pubDate>Mon, 20 Nov 2017 21:16:16 +0800</pubDate><description><![CDATA[mail from address must be same as authorization user的解决办法qq邮箱发送，mail from address must be same as authorization usermail from address must be same as authorization user这信息提示有以下两种：1.未开启pop3或者smtp2.账号密码错]]></description><category></category></item><item><title><![CDATA[Markdown语法首行缩进]]></title><link>https://blog.youkuaiyun.com/Yan_Less/article/details/75411868</link><guid>https://blog.youkuaiyun.com/Yan_Less/article/details/75411868</guid><author>Yan_Less</author><pubDate>Wed, 19 Jul 2017 16:39:28 +0800</pubDate><description><![CDATA[在文章开头加入 &#160; &#160; &#160;记住不要掉分号。就可以实现首行缩进，满足正常的中文阅读习惯了。]]></description><category></category></item><item><title><![CDATA[无损连接，函数依赖性判定]]></title><link>https://blog.youkuaiyun.com/Yan_Less/article/details/73864424</link><guid>https://blog.youkuaiyun.com/Yan_Less/article/details/73864424</guid><author>Yan_Less</author><pubDate>Wed, 28 Jun 2017 21:56:42 +0800</pubDate><description><![CDATA[复习数据库概论发现这个有点不懂，在百度之后，又看了下书，发觉这个方法是最简单的，最有效，最直接的。关于无损连接其实很简单，也还有另外一种方法详情参考http://www.xuebuyuan.com/959981.html定义：无损联接分解是将一个关系模式分解成若干个关系模式后，通过自然联接和投影等运算仍能还原到原来的关系模式，则称这种分解为无损联接分解。 
无损分解的判定算法 
输入：一个关系模式R]]></description><category></category></item><item><title><![CDATA[加载 Oracle 客户端库时引发badimageformatexception]]></title><link>https://blog.youkuaiyun.com/Yan_Less/article/details/73823754</link><guid>https://blog.youkuaiyun.com/Yan_Less/article/details/73823754</guid><author>Yan_Less</author><pubDate>Tue, 27 Jun 2017 21:10:43 +0800</pubDate><description><![CDATA[尝试加载 Oracle 客户端库时引发 BadImageFormatException。问题记录 
1公司电脑是win7 64位旗舰版，刚来时配的新电脑，4G+i5这个配置不装64位那算是浪费了。谁知道一切装完毕后，打开项目却连不上oracle数据了… 
首先是pl/sql连不上，我在本地装了个oracle 11g r2 64位的。装了oracle服务器，应该是不用再装客户端，pl/sql应该就能连]]></description><category></category></item><item><title><![CDATA[C语言之爱情红玫瑰]]></title><link>https://blog.youkuaiyun.com/Yan_Less/article/details/73823093</link><guid>https://blog.youkuaiyun.com/Yan_Less/article/details/73823093</guid><author>Yan_Less</author><pubDate>Tue, 27 Jun 2017 20:14:51 +0800</pubDate><description><![CDATA[一朵红玫瑰，记得要安装easyX,否则运行不了，建议vs2015,2017系列。看起开舒服一点。#include <graphics.h>
#include <conio.h>
#include <math.h>// 定义全局变量
int rosesize = 500;
int h = -250;
// 定义结构体
struct DOT
{
    double x;
    double y;]]></description><category></category></item></channel></rss>