08 2016 档案

摘要:1、curl 接口URL : 能够直接发送http请求,调用接口查看返回值 2、如何在Chrome中查看当前的页面调用了哪些数据接口 调出下面的窗口之后,URL就是对应的数据接口,可以直接在浏览器中进行访问,查看返回的数据格式 右面窗口的最下面是调用接口需要的参数 3、下面的窗口能够查看一个网页中的 阅读全文
posted @ 2016-08-30 10:28 RoperLee 阅读(125) 评论(0) 推荐(0) 编辑
摘要:没有什么为什么,肯定是写错了呀,基本上来说,就是URL中对了一些东西,比如丢了 反斜杠 router.get('app/mix/retry/pipeline/bymixflowinstid',appMixController.retryPipelineByMixFlowInstId); router 阅读全文
posted @ 2016-08-29 21:52 RoperLee 阅读(1066) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2016-08-29 17:17 RoperLee 阅读(2) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2016-08-29 14:07 RoperLee 阅读(4) 评论(0) 推荐(0) 编辑
摘要:1、在test文件夹中,每一个文件都是对一个方法的测试 2、getDataFile()方法是因为继承了EnvBaseTestCase类, 能够自动的将XML文件中的记录插入到数据库中 3、文件跟踪: 1⃣️ EnvDeployService.java文件中有一个 closeDeployOrder() 阅读全文
posted @ 2016-08-26 13:10 RoperLee 阅读(157) 评论(0) 推荐(0) 编辑
摘要:mvn clean install -DskipTests mvn jetty:run -DskipTests 阅读全文
posted @ 2016-08-26 13:05 RoperLee 阅读(120) 评论(0) 推荐(0) 编辑
摘要:切图实际上也非常的简单,我们只切3倍率的图,放在工程中的 drawable_xxhdpi文件夹中,其他倍率的图 像 ldpi [0.75倍] 、mdpi [1倍]、hdpi [1.5倍]、xhdpi [2倍],我们都不管,也就是说,工程中只需有一 套图 而我们的设计图正好就是3倍率的图(宽1080像 阅读全文
posted @ 2016-08-25 02:10 RoperLee 阅读(251) 评论(0) 推荐(0) 编辑
摘要:一、在PS中进行测量以及 px/dp 的转换问题 安装如下几种字体: 直接搜索 "Noto Sans CJK" 、"Noto Sans Mono CJK SC " 、"Droid Sans Fallback Regular"就能够搜到字体包 安装为系统字体之后,PS中自动会检测到相应的字体,安装好字 阅读全文
posted @ 2016-08-25 00:16 RoperLee 阅读(1273) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2016-08-23 20:24 RoperLee 阅读(3) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2016-08-21 00:51 RoperLee 阅读(3) 评论(0) 推荐(0) 编辑
摘要:IDEA 下使用SVN的方法:http://ylq365.iteye.com/blog/1955291 svn info 查看当前分枝的信息 svn sw 分枝切换 阅读全文
posted @ 2016-08-19 16:05 RoperLee 阅读(93) 评论(2) 推荐(0) 编辑
摘要:http://ylq365.iteye.com/blog/1955291 阅读全文
posted @ 2016-08-13 15:23 RoperLee 阅读(114) 评论(0) 推荐(0) 编辑
摘要:{{#each (envListData)}} <li id="{{deployId}}" role="presentation" class="{{#if( activeEnv true)}}active{{/if}}"> <a onclick="getEnvDeployDetail('{{id} 阅读全文
posted @ 2016-08-11 10:47 RoperLee 阅读(460) 评论(0) 推荐(0) 编辑
摘要:看看下面这个实例就能掌握$(".aone-revision-tabs").find('li[id="' + currentDeployId + '"] a') 阅读全文
posted @ 2016-08-11 10:30 RoperLee 阅读(1566) 评论(1) 推荐(0) 编辑
摘要:能够解决的问题: 如果在Nodejs端有一个对象或者数组,比如叫做 var envDataList =[ ....... ],我们想要把这个对象render给前端的 模板,现象如下: 1、在XTPL中我们可以使用{{#each (envListData)}},或者envListData[0]等,也就 阅读全文
posted @ 2016-08-11 10:23 RoperLee 阅读(1128) 评论(0) 推荐(0) 编辑
摘要:function isContain(arr, val){ for(var i=0; i<arr.length; i++){ if(arr[i] == val) return true; } return false;} 阅读全文
posted @ 2016-08-11 09:14 RoperLee 阅读(164) 评论(1) 推荐(0) 编辑
摘要:var envListData = [] ; $('.aone-revision-tabs').find('li').each(function(){ envListData.push($(this).attr('id'));}); 阅读全文
posted @ 2016-08-11 09:02 RoperLee 阅读(557) 评论(0) 推荐(0) 编辑
摘要:还有值得注意的就是: 1⃣️ 如果要使用 . 的话,那么后面的属性,必须是这个对象已经有的属性 2⃣️ 如果要动态的为对象添加属性的话,那么必须使用 [ ] ,用 . 是不行的 例如: var map={ key1:'abc', key2:'def' }; 如果key是要动态添加,则如下处理 var 阅读全文
posted @ 2016-08-10 11:54 RoperLee 阅读(233) 评论(0) 推荐(0) 编辑
摘要:function show1(){ trace("每隔1秒显示一次");}function show2(str){ trace(str);}setInterval(show1,1000);setInterval(show2,2000,"每隔2秒我就会显示一次"); 停止的方法:http://www. 阅读全文
posted @ 2016-08-10 09:52 RoperLee 阅读(1479) 评论(0) 推荐(0) 编辑
摘要:举两个例子就能马上掌握使用方法: 实例一: var idList = id.split(",").filter(function (item) { return item!="" && item>0; }); 实例二: http://www.cnblogs.com/lilili/p/5218845. 阅读全文
posted @ 2016-08-09 16:36 RoperLee 阅读(1584) 评论(0) 推荐(0) 编辑
摘要:$('#J_cr_list').on('click', '.cr-btn', function (e) { var $this = $(e.target); var crId = $this.data('id'); } 阅读全文
posted @ 2016-08-09 09:41 RoperLee 阅读(276) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2016-08-09 09:17 RoperLee 阅读(1) 评论(0) 推荐(0) 编辑
摘要:非常的简单,就是用来循环遍历数组和对象的,具体的介绍看看下面的链接就行了 http://www.cnblogs.com/mabelstyle/archive/2013/02/19/2917260.html 阅读全文
posted @ 2016-08-09 09:11 RoperLee 阅读(81) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2016-08-08 19:31 RoperLee 阅读(2) 评论(0) 推荐(0) 编辑
摘要:1、http://www.cnblogs.com/PengLee/p/5650643.html 中已经说明了具体的方法, 关键点就是 form.serialize() 能够将表单中的数据封装成Json参数传给NodeJs端接收 2、还有一点值得说明,上面的文章使用的POST方法,如果我们采用的是GE 阅读全文
posted @ 2016-08-08 17:59 RoperLee 阅读(109) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2016-08-08 15:52 RoperLee 阅读(2) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2016-08-06 15:35 RoperLee 阅读(9) 评论(0) 推荐(0) 编辑
摘要:MyBatis的使用方法: http://www.cnblogs.com/xdp-gacl/p/4264301.html 阅读全文
posted @ 2016-08-05 17:30 RoperLee 阅读(89) 评论(0) 推荐(0) 编辑
摘要:可以为HTML元素指定自定义属性和属性值,可以在JQuery中获得这些属性值加以利用 <div class="btn-group pull-right tool-groupby switch-selected"> <button type="button" class="btn btn-defaul 阅读全文
posted @ 2016-08-03 14:55 RoperLee 阅读(142) 评论(0) 推荐(0) 编辑
摘要:Ajax有两种请求: 一种是GET请求,另一种是POST请求 GET 请求方法 $.ajax({ url: '/ec/app/' + appId + '/env/migrate/execute', type: 'get', success: function (result) {.......}}) 阅读全文
posted @ 2016-08-02 17:17 RoperLee 阅读(273) 评论(1) 推荐(0) 编辑
摘要:$('.switch-selected a').on('click', function(e){ e.preventDefault(); }) 这个方法是用来阻止默认事件.比如当你点击带有href值的a标签时,元素响应click事件后, 还会发生页面跳转.如果加上这个方法(属性)后,浏览器只会响应c 阅读全文
posted @ 2016-08-02 16:31 RoperLee 阅读(1339) 评论(0) 推荐(0) 编辑
摘要:ec/app/cr/list?ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu 问号后面的是query查询 可选,用于给Nodejs传递参数,可有多个参数,用"&"符号隔开,每个参数的名和值用"="符号隔开 这样在NodeJs端,能够使用 req.query.ie 的 阅读全文
posted @ 2016-08-02 12:29 RoperLee 阅读(438) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2016-08-02 11:46 RoperLee 阅读(1) 评论(0) 推荐(0) 编辑
摘要:http://json.cn/ 阅读全文
posted @ 2016-08-02 09:35 RoperLee 阅读(419) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2016-08-01 10:25 RoperLee 阅读(3) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示