上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 94 下一页
摘要: 今日份代码: 1.定义拦截器 import com.alibaba.fastjson.JSON; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.lang.StringUtils; im 阅读全文
posted @ 2020-06-30 17:59 Angel挤一挤 阅读(481) 评论(0) 推荐(0) 编辑
摘要: 今日份代码: isJSON: function(str) { if (typeof str == 'string') { try { var obj=JSON.parse(str); if(typeof obj == 'object' && obj ){ return true; }else{ re 阅读全文
posted @ 2020-06-29 21:36 Angel挤一挤 阅读(2467) 评论(0) 推荐(0) 编辑
摘要: 今日份代码: public class MainMethod { public static void main(String[] args) { boolean flag = true; flag &= true; System.out.println("true\t&=\ttrue\t==>\t 阅读全文
posted @ 2020-06-28 13:22 Angel挤一挤 阅读(758) 评论(0) 推荐(0) 编辑
摘要: 参考地址:https://www.cnblogs.com/LeoBoy/p/6056394.html 引入地址:https://www.cnblogs.com/sxdcgaq8080/p/12123917.html 阅读全文
posted @ 2020-06-12 13:57 Angel挤一挤 阅读(304) 评论(0) 推荐(0) 编辑
摘要: vue.js中定义data中的属性: vue.html中定义一个按钮,绑定点击事件,入参即字符串: vue.js的method中定义该点击方法: jsonSubmit: function (arg) { var that = this; var realInvoker = that[`${arg}` 阅读全文
posted @ 2020-06-11 15:25 Angel挤一挤 阅读(3654) 评论(0) 推荐(0) 编辑
摘要: 今日份代码: <dubbo:reference id="serviceA" interface="com.XXX.XXX.sdk.ServiceA" check="false" url="dubbo://10.12.194.110:59900" timeout="600000"/> <dubbo:r 阅读全文
posted @ 2020-05-16 18:45 Angel挤一挤 阅读(7851) 评论(0) 推荐(0) 编辑
摘要: 如题:maven项目打包jar 打包源码,mvn命令打包源码 需要: 1.pom.xml文件配置如下:核心红色显示 <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <a 阅读全文
posted @ 2020-05-05 15:50 Angel挤一挤 阅读(2222) 评论(0) 推荐(0) 编辑
摘要: 说明: UNION 操作符用于合并两个或多个 SELECT 语句的结果集。 请注意,UNION 内部的 SELECT 语句必须拥有相同数量的列。列也必须拥有相似的数据类型。同时,每条 SELECT 语句中的列的顺序必须相同。否则会报错。 union和 union all的关系和区别: 1.UNION 阅读全文
posted @ 2020-04-28 15:24 Angel挤一挤 阅读(5365) 评论(0) 推荐(2) 编辑
摘要: 场景描述: ajax设置timeout在本机测试有效,但是在生产环境等外网环境无效的问题 1.ajax的timeout属性设置 前端请求超时事件【网络连接不稳定时候,就无效了】 var data = JSON字符串; $.ajax({ type: "POST", url: url, dataType 阅读全文
posted @ 2020-04-26 15:48 Angel挤一挤 阅读(2773) 评论(0) 推荐(0) 编辑
摘要: 调用本类中的方法,事务回滚失败的问题。 错误调用方式: @Service public class BaseServiceImpl implements BaseService { @Override @Transactional public void saveBaseInfo() { BaseR 阅读全文
posted @ 2020-04-25 16:51 Angel挤一挤 阅读(2761) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 94 下一页