
easywechat 网页授权登录
使用easyWeChat进行微信网页的授权登录 public function __construct ( Request $request = null ){ parent::__construct(); $this->config...
使用easyWeChat进行微信网页的授权登录 public function __construct ( Request $request = null ){ parent::__construct(); $this->config...
下面介绍两种上传到阿里云oss的方法 一种是通过路径上传 另一种呢是通过数据流上传 public function ajax_save_pic(){ $ossconfig = [ 'KeyId' => 'm5lc@@@@@@UZ', //您...
<?php /** * $data 原始数据(二维数组) * $parent_key 原始数据父级字段 * $child_key 生成子集的字段 */ function treeArray($data,$parent_key,$chi...
下载并解压 wget https://pecl.php.net/get/swoole-4.2.13.tgz tar -zxvf ./swoole-4.2.13.tgz cd swoole-4.2.13 phpize ./configu...
全局配置(推荐) 所有项目都会使用该镜像地址: composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ 取消配置: composer c...
<?php /** * @Author: Eric-枫 * @Date: 2019-08-29 10:33:28 * @Last Modified by: Eric-枫 * @Last Modified time: 2019-09-2...
<?php /** * @Author: Eric-枫 * @Date: 2019-11-26 09:59:06 * @Last Modified by: Eric-枫 * @Last Modified time: 2019-11-2...
形成的链接: http://localhost/index/cate/listt?id=123&name=dopost $uurl_array =array ( 'id' =>123, 'name' => 'dopost' ); $...
if($dk_list){ //合并另一个数组,组成新的数组 $res_33 = array_merge($_res2,$dk_list); //比较数组和移除数组中重复的值 进行比较个数 if (count($res_33) == cou...
/** * 求两个已知经纬度之间的距离,单位为米 * * @param lng1 $ ,lng2 经度 * @param lat1 $ ,lat2 纬度 * @return float 距离,单位米 * @author www.Alixix...