如果在b工程的页面直接发送ajax请求a时会发生跨域问题,那么解决方案为:将A和B同时代理到Nginx,由Nginx做请求路由,直接在B工程页面中直接访问Nginx即可 server { listen 80; server_name www.chx.com; #charset koi8-r; #ac ...
分类:
其他好文 时间:
2020-02-10 17:51:17
阅读次数:
67
例题一链接: http://acm.hdu.edu.cn/showproblem.php?pid=3038 题意: 数据范围: $1\leq n \leq 100$ 分析: AC代码: #include<bits/stdc++.h> #define ll long long #define pii ...
分类:
其他好文 时间:
2020-02-10 13:47:14
阅读次数:
82
P1908 逆序对 离散化+树状数组:AC_Code 1 #include <bits/stdc++.h> 2 using namespace std; 3 typedef long long ll; 4 const int maxn=500010; 5 6 int a[maxn],tree[max ...
分类:
编程语言 时间:
2020-02-09 20:09:07
阅读次数:
71
1. 浏览器:http://api.online-service.vip/ip/me 2. 命令行: curl api.online-service.vip/ip/me ...
分类:
其他好文 时间:
2020-02-09 16:43:18
阅读次数:
160
输入公式后行间距变大解决方案 觉得有用的话,欢迎一起讨论相互学习~ "Follow Me" 选中当前行,邮件 段落 去掉勾选 ...
分类:
其他好文 时间:
2020-02-09 16:32:42
阅读次数:
67
表格元素数值居中 觉得有用的话,欢迎一起讨论相互学习~ "Follow Me" 表格单元中竖直方向偏上,需要居中。 ...
分类:
其他好文 时间:
2020-02-09 14:37:06
阅读次数:
46
运行关联查询的例子时报错: org.apache.ibatis.builder.IncompleteElementException: Could not find result map com.me.mybatis.mapper.OrderMapper. at org.apache.ibatis. ...
分类:
移动开发 时间:
2020-02-09 11:59:24
阅读次数:
76
在学mybaits的时候遇到了这个错误,而且卡住了我三个小时也找不到,最后分析出来不能初始化类,然后就结合着之前自己以前的一点经验发现只有有参构造没有无参构造,因此只需要添加上无参构造就可以了。 错误源码 org.apache.ibatis.exceptions.PersistenceExcepti ...
分类:
数据库 时间:
2020-02-08 17:54:20
阅读次数:
83
FM https://zhuanlan.zhihu.com/p/58160982 https://zhuanlan.zhihu.com/p/35484389 https://www.hrwhisper.me/machine learning fm ffm deepfm deepffm/ FFM ht ...
分类:
其他好文 时间:
2020-02-08 17:51:11
阅读次数:
100
1.环境 deepin 15.10.1(tmux的操作应该适合所有Linux系统) 2.安装 3.使用 会话(session 窗口(window) 面板(panel),下面的够用了for me. 3.1 session cmd命令| 说明 : |: $ tmux new s session_name ...
分类:
其他好文 时间:
2020-02-08 15:47:32
阅读次数:
78