摘要: url = $url; $parseUrl = parse_url($url); $this->request_url = ''; $this->request_url .= $parseUrl['scheme'] == 'https' ? 'https://' : 'http://'; $this->request_url .= ... 阅读全文
posted @ 2018-05-02 15:59 kerryk 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 后台返回数据时加入这三句就可以了 header('Access-Control-Allow-Origin:*'); header('Access-Control-Allow-Headers:x-requested-with,content-type'); header('Access-Control 阅读全文
posted @ 2018-04-25 07:16 kerryk 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 1、安装vue-cli: cnpm install vue-cli -g 2、初始化: vue init webpack-simple [项目名称] 或 vue init webpack [项目名称] 3、安装依赖: cd [项目名称] 然后 cnpm install 4、运行项目: npm run 阅读全文
posted @ 2018-04-22 17:03 kerryk 阅读(202) 评论(0) 推荐(0) 编辑
摘要: test.php test.html 阅读全文
posted @ 2018-04-21 08:19 kerryk 阅读(276) 评论(0) 推荐(0) 编辑
摘要: Document Users Groups users... groups... 阅读全文
posted @ 2018-04-15 08:41 kerryk 阅读(296) 评论(0) 推荐(0) 编辑
摘要: var Dictionary = (function (){ var f = function(){ this._items = {}; }; var proto = f.prototype; proto.has = function(key){ return key in this... 阅读全文
posted @ 2018-03-23 16:07 kerryk 阅读(261) 评论(0) 推荐(0) 编辑
摘要: Print '; echo ' xxx的简历 编号:000001 姓名 xxx 学历 xxx --> 性别 xxx 出生年月 xxx 户籍地 xxx 身高 xxxcm 体重 xxxkg 婚姻状况 xxx 手机 xxx Email x... 阅读全文
posted @ 2018-03-22 11:04 kerryk 阅读(295) 评论(0) 推荐(0) 编辑
摘要: vue 点我 ... 阅读全文
posted @ 2018-03-18 23:37 kerryk 阅读(633) 评论(0) 推荐(0) 编辑
摘要: Document 阅读全文
posted @ 2018-03-10 23:40 kerryk 阅读(576) 评论(0) 推荐(0) 编辑
摘要: 路由基本用法 主页 新闻 阅读全文
posted @ 2018-01-30 09:17 kerryk 阅读(206) 评论(0) 推荐(0) 编辑