上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页
摘要: html <div class="img_box"> <img src="" id="scimg" onclick="upimg()"> <input type="file" class="noshow" id="uploadimg"> <input type="hidden" name="head 阅读全文
posted @ 2020-04-20 13:25 Cyber_nnno 阅读(553) 评论(0) 推荐(0)
摘要: 直接上代码 1 /*保存*/ 2 function keep(){ 3 var form = new FormData(); /*添加数据*/ 4 form.append('qq',$("#qq").val()); //qq 5 form.append('wx',$("#wx").val()); / 阅读全文
posted @ 2020-04-20 13:19 Cyber_nnno 阅读(2087) 评论(0) 推荐(0)
摘要: 遇到很多坑记录一下 这里用的是电脑支付 下载dome链接:https://docs.open.alipay.com/... 把demo放到extend目录,文件夹改名字为:alipay,方便后面操作 有人说把需要用的类命名空间,namespace,这个人拉出去枪毙了,真的坑爹啊,命名空间加上后,可能 阅读全文
posted @ 2020-03-09 16:33 Cyber_nnno 阅读(1043) 评论(0) 推荐(0)
摘要: // 获取当日的数据 Db::table('table') ->whereTime('times', 'today')->select(); // 获取昨天的数据 Db::table('table')->whereTime('times', 'yesterday')->select(); // 获取 阅读全文
posted @ 2020-01-20 09:32 Cyber_nnno 阅读(956) 评论(0) 推荐(0)
摘要: <?php /** * Project:QQ授权登陆 * User: luokakale * Date: 2019/1/25 * Time: 14:22 */ //应用的APPID $app_id = ""; //应用的APPKEY $app_secret = ""; //【成功授权】后的回调地址, 阅读全文
posted @ 2019-12-25 10:10 Cyber_nnno 阅读(875) 评论(0) 推荐(0)
摘要: 把标注红色的修改即可 js文件: wx.login({ success: res => { var total_fee = 1 //总金额 // 发送 res.code 到后台换取 openId, sessionKey, unionId wx.request({ url: "http://127.0 阅读全文
posted @ 2019-12-24 18:12 Cyber_nnno 阅读(1599) 评论(0) 推荐(2)
摘要: 把标记修改的备注修改即可 JS文件:(可以放在app.js中) // 登录 wx.login({ success: res => { // 发送 res.code 到后台换取 openId, sessionKey, unionId wx.request({ url: "http://127.0.0. 阅读全文
posted @ 2019-12-24 17:41 Cyber_nnno 阅读(6415) 评论(0) 推荐(0)
摘要: js 阅读全文
posted @ 2019-08-19 09:57 Cyber_nnno 阅读(3389) 评论(2) 推荐(0)
摘要: 首先有根目录match文件夹 match文件夹 template文件夹(放视图文件,就是看到的) match.html(在template下) match.php(主页面,中专用的) mysql.class.php(连接数据库类文件) Factory.class.php(工厂文件) MatchCon 阅读全文
posted @ 2019-05-27 12:00 Cyber_nnno 阅读(539) 评论(0) 推荐(0)
摘要: 面向对象 类是种类,对象是种类其中的一个,每个对象都互不影响 修饰词 public //公共的,在任何位置都可以使用 protected //受保护的,只能在当前类或有继承关系的类中使用 private //私有的,只能在所在类中使用 基本语法 class classname{ //classnam 阅读全文
posted @ 2019-05-25 09:25 Cyber_nnno 阅读(248) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页