摘要: 1 /** 2 * 中国正常GCJ02坐标 >百度地图BD09坐标 3 * 腾讯地图用的也是GCJ02坐标 4 * @param double $lat 纬度 5 * @param double $lng 经度 6 */ 7 function Convert_GCJ02_To_BD09($lat,$ 阅读全文
posted @ 2021-11-23 13:45 我是叮当啊 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 1 <?php 2 3 4 namespace App\Org; 5 6 use App\Models\Admin\AdminSetting; 7 8 $express_bird_apikey=AdminSetting::where('name','express_bird_apikey')->va 阅读全文
posted @ 2021-11-23 11:31 我是叮当啊 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 1 <?php 2 namespace App\Org; 3 define('AccessKeyId', config('app.AliyunAccessKeyId')); 4 define('AccessKeySecret', config('app.AliyunAccessKeySecret') 阅读全文
posted @ 2021-11-23 11:24 我是叮当啊 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 1.引入包 composer require laravel/horizon ^3.7 在执行安装命令的时候,我环境是laravel6, 直接执行composer require laravel/horizon 报错,所以一直试到最高可用版本为3.7 2.执行安装命令 php artisan hor 阅读全文
posted @ 2021-11-15 16:38 我是叮当啊 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 1.下载 https://www.sonarqube.org/downloads/ 2.下载jdk 安装 3.下载sonarqube解压缩在本地 4.进入bin/windows目录点击StartSonar.bat启动服务 5.默认用户名密码 admin admin 6.进入系统,点击administ 阅读全文
posted @ 2021-10-15 14:48 我是叮当啊 阅读(559) 评论(0) 推荐(0) 编辑
摘要: class UnionScanQrCode{ protected $appId; protected $appKey; protected $mid; protected $tid; protected $fromCode; protected $authorization = 'OPEN-FORM 阅读全文
posted @ 2021-06-21 14:32 我是叮当啊 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 1.centos安装docker服务 sudo yum install -y yum-utils sudo yum-config-manager \ --add-repo \ http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.rep 阅读全文
posted @ 2021-06-21 14:27 我是叮当啊 阅读(373) 评论(0) 推荐(0) 编辑
摘要: /** *山羊拉丁文的规则如下: * *如果单词以元音开头(a, e, i, o, u),在单词后添加"ma"。 *例如,单词"apple"变为"applema"。 * *如果单词以辅音字母开头(即非元音字母),移除第一个字符并将它放到末尾,之后再添加"ma"。 *例如,单词"goat"变为"oat 阅读全文
posted @ 2019-10-12 10:53 我是叮当啊 阅读(347) 评论(0) 推荐(0) 编辑
摘要: class Solution { /** * @param Integer $x * @return Integer */ function reverse($x) { $max=pow(2,31)-1; $min=pow(-2,31); if($x == 0) return 0; $s = ''; if($x < 0){ $s .= '-'; $x = abs($x); } while($x > 阅读全文
posted @ 2019-10-10 16:59 我是叮当啊 阅读(103) 评论(0) 推荐(0) 编辑
摘要: //参数1 是因为需要微信用户头像,所以传了对象过去,可以根据自己需要传值 //参数2 文件存储地址 //参数3 二维码图片文件 function img2img_hb($wxUserInfo,$imgdir,$qrurl){ global $cssurl;//全局静态文件地址 $bigImg = 阅读全文
posted @ 2019-09-19 17:31 我是叮当啊 阅读(685) 评论(0) 推荐(0) 编辑