摘要: PHP SDK 官方下载地址 PHP SDK 官方文档 我把 PHP SDK 放到了TP5的 extend 了 在这里我根据 PHP SDK 再次封装了一下函数,代码示下 /** * 百度云内容审核 * @param [type] $type 内容类型 image msg * @param [typ 阅读全文
posted @ 2020-12-20 21:48 孤陌 阅读(397) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript" src="https://api.map.baidu.com/api?type=webgl&v=1.0&ak=百度地图应用key"></script> <script type="text/javascript" src="//api.m 阅读全文
posted @ 2020-12-09 22:34 孤陌 阅读(235) 评论(0) 推荐(0) 编辑
摘要: JavaScript <script src="https://a.amap.com/jsapi_demos/static/demo-center/js/demoutils.js"></script> <script type="text/javascript" src="https://webap 阅读全文
posted @ 2020-12-09 22:32 孤陌 阅读(579) 评论(0) 推荐(0) 编辑
摘要: $a--浮点数1 $b--浮点数2 $c--小数点 加: $result= bcadd( $a, $b, $c); 减: $result= bcsub( $a, $b, $c); 乘: $result= bcmul( $a, $b, $c); 除: $result= bcdiv( $a, $b, $ 阅读全文
posted @ 2020-11-04 11:27 孤陌 阅读(2027) 评论(0) 推荐(0) 编辑
摘要: 下载地址:http://kindeditor.net/down.php 最全的手册:http://kindeditor.net/docs/option.html HTML 代码块 <div class="layui-form-item layui-form-text"> <label class=" 阅读全文
posted @ 2020-10-12 15:55 孤陌 阅读(547) 评论(0) 推荐(0) 编辑
摘要: 获取BizToken /** * 人脸核身--getbiztoken * @return [type] [description] */ public function getbiztoken() { $secretKey = '你的secretKey'; $srcStr = 'GETfaceid. 阅读全文
posted @ 2020-10-09 14:50 孤陌 阅读(619) 评论(0) 推荐(0) 编辑
摘要: 今天从同事那里接收到一个微信小程序项目,需要使用到微信登陆 在使用微信登陆的时候发现报了一个错误 出现这样的错误,于是return 了一下出现了这样的提示 于是到网上查了一下,出现这样错误的可能有 第一种可能是小程序 manifest.json 设置的 appid 与请求的 applet_appid 阅读全文
posted @ 2020-09-29 15:39 孤陌 阅读(4533) 评论(0) 推荐(0) 编辑
摘要: 官网jquery压缩版引用地址: 官网jQuery CDN 地址: http://code.jquery.com 3.5.1版本: <script src="http://code.jquery.com/jquery-3.5.1.slim.min.js"></script> 3.1.1版本: <sc 阅读全文
posted @ 2020-09-27 10:42 孤陌 阅读(984) 评论(1) 推荐(0) 编辑
摘要: $(document).ready(function(){ trace("初始化方法进入"); }); $(function(){ trace("初始化方法进入二"); }); jQuery(function($){ trace("初始化方法进入三"); }); 阅读全文
posted @ 2020-09-27 10:40 孤陌 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 错误原因:没有开启 GD 库 解决方法: 配置 php.ini : ;extension=gd2 ==> extension=gd2 , 保存后重载服务器 阅读全文
posted @ 2020-09-26 18:07 孤陌 阅读(1126) 评论(0) 推荐(0) 编辑