上一页 1 2 3 4 5 6 7 8 ··· 14 下一页
摘要: 调试执行的sql语句 User::get(1); echo User::getLastSql(); 方法直接返回当前的查询SQL而不执行fetchSql echo User::fetchSql()->find(1); 手动抛出HTTP异常 throw new \think\exception\HttpException(404, '页面不存在'); 或者使用助手函数 abort... 阅读全文
posted @ 2017-11-12 22:16 yolo_bean 阅读(136) 评论(0) 推荐(0)
摘要: 永久素材上传接口又超出限制了 阅读全文
posted @ 2017-11-12 13:34 yolo_bean 阅读(99) 评论(0) 推荐(0)
摘要: 一、自定义菜单 错误提示:{ "errcode": 85005, "errmsg": "appid not bind weapp hint: [A9p5Ua0198vr19]"} 原因及解决:是POSTDATA的问题,就是从官方文档COPY过来的菜单源数据有问题 自己写一个postData如下 阅读全文
posted @ 2017-11-11 16:12 yolo_bean 阅读(302) 评论(0) 推荐(0)
摘要: 一、自定义菜单 错误提示:{ "errcode": 85005, "errmsg": "appid not bind weapp hint: [A9p5Ua0198vr19]"} 原因及解决:是POSTDATA的问题,就是从官方文档COPY过来的菜单源数据有问题 自己写一个postData如下 阅读全文
posted @ 2017-11-11 16:12 yolo_bean 阅读(184) 评论(0) 推荐(0)
摘要: 1、得到错误码 2、错误码说明 阅读全文
posted @ 2017-11-11 12:53 yolo_bean 阅读(1222) 评论(0) 推荐(0)
摘要: xml主键被json取代,大概了解一下就OK了 简要: sa.xml文件: 用a.php读取sa.xml: a.php代码如下: 输出结果为: 阅读全文
posted @ 2017-11-10 10:09 yolo_bean 阅读(181) 评论(0) 推荐(0)
摘要: 代码: 错误提示: Fatal error: Call to undefined method DOMDocument::createElement_x_x() in D:\www\test\sa\a.php on line 3 原因: 网上查到的信息是》》domxml与DOMDocument,Fa 阅读全文
posted @ 2017-11-10 10:02 yolo_bean 阅读(178) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2017-11-09 15:15 yolo_bean 阅读(98) 评论(0) 推荐(0)
摘要: cat /etc/redhat-release 查看系统版本信息 》》CentOS Linux release 7.4.1708 (Core) 背景:我已经注册了github账号,之前在windows系统下安装过git客户端并上传本地项目到github,现在想在自己的服务器上创建项目,并和githu 阅读全文
posted @ 2017-11-09 12:20 yolo_bean 阅读(2716) 评论(0) 推荐(0)
摘要: 添加远程库:你已经在本地创建了一个Git仓库后,又想在GitHub创建一个Git仓库,并且让这两个仓库进行远程同步,这样,GitHub上的仓库既可以作为备份,又可以让其他人通过该仓库来协作 远程仓库实际上和本地仓库没啥不同,纯粹为了7x24小时开机并交换大家的修改。 GitHub就是一个免费托管开源 阅读全文
posted @ 2017-11-09 10:56 yolo_bean 阅读(285) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 14 下一页