摘要:@RequestMapping("/user") public String user(@RequestHeader(name="Authorization") String auth, @RequestBody Users items, HttpServletResponse response){
阅读全文
随笔分类 - 过往代码
摘要:v-bind:style="$index % 2 > 0?'background-color:#FFF;':'background-color:#D4EAFA;'"
阅读全文
摘要:JS端的: Server端的: 后台代码把换行符\r\n替换为\\r\\n,前台代码js收到的字符就是\r\n
阅读全文
摘要:首先,字符集的问题: mysql> show variables like 'character%';+ + +| Variable_name | Value |+ + +| character_set_client | latin1 | | character_set_connection | l
阅读全文
摘要:同样的代码,这是修改后的使用ajax上传图片的代码:
阅读全文
摘要:野狗,第三方后端通信用的:https://www.wilddog.com/ 花瓣网,用来做设计的:http://huaban.com/ Ping++,聚合支付接口:https://www.pingxx.com/ APICloud,H5开发APP第三方工具:http://www.apicloud.co
阅读全文
摘要:var a; $(function () { $("body").bind("contextmenu", function () { return false; }); $.extend($.fn.datagrid.methods, { rightTools: function (jq, opts) { $(".d...
阅读全文
摘要:document.getElementById("ifarme-63").contentWindow.document.getElementById("qksv").value = '1'; document.getElementById("ifarme-63").contentWindow.document.getElementById("hfDateStart").value...
阅读全文
摘要:存在AppCan里的网页 index.html <!DOCTYPE html> <html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px"> <
阅读全文
摘要:首先,要在窗体里面加入这么两个控件,左边的是托盘控件,右边的是菜单控件。然后设置窗体的FormClosing事件:if (e.CloseReason == CloseReason.UserClosing) { e.Cancel = true; ...
阅读全文
摘要:首先,要加入idField属性其次,idField属性必须是数据集中某一字段,且唯一。然后,就象这样:$(document).ready(function () { $("#tt").datagrid({ url: '/Control/ajax.ashx?clas...
阅读全文
摘要:这里有个误区,虽然我的截图这里有个FlexPaperViewer.swf, 但是这个文件还是要放在网站根目录一个。
阅读全文
摘要:/// /// 根据产品Id获得图片 /// /// /// public Image GetImage(string pId) { DBManager vDBManager = ne...
阅读全文
摘要:PS:有可能出现页面上两个下拉框,这种情况需要修改easy.min.js文件中这部分代码。
阅读全文

浙公网安备 33010602011771号