摘要:
1 <?php 2 /** 3 *微信授权实例 4 */ 5 class ClassName extends AnotherClass 6 { 7 /** 8 * wechat oauth 之后的回调页面 9 */ 10 public function callback() 11 { 12 $thi 阅读全文
posted @ 2020-03-12 14:44
丶Gang
阅读(347)
评论(0)
推荐(0)
摘要:
列:sn=CS201911-0002 $sn = $this->visitinSn("CS"); //生成单据编号 /** * Notes:生成单据公共接口 * Created by xxg@seabig.cn * Date: 2019/11/7 * Time: 15:18 */ public fu 阅读全文
posted @ 2020-03-12 14:36
丶Gang
阅读(201)
评论(0)
推荐(0)
摘要:
PHP中文处理 中文字符串截取(mb_substr)和获取中文字符串字数 一、中文截取:mb_substr() mb_substr( $str, $start, $length, $encoding ) $str,需要截断的字符串 $start,截断开始处,起始处为0 $length,要截取的字数 阅读全文
posted @ 2020-03-12 14:23
丶Gang
阅读(298)
评论(0)
推荐(0)
摘要:
$data=array ( [0] => Array ( [0] => Array ( [name] => "测试" ) [1] => Array ( [school] => "学校" ) [2] => Array ( [material_id] => 7 ) [3] => Array ( [con 阅读全文
posted @ 2020-03-12 14:20
丶Gang
阅读(248)
评论(0)
推荐(0)
摘要:
/** * Notes:将多个一维数组合拼成二维数组 * Created by xxg@seabig.cn * Date: 2019/11/8 * Time: 13:20 * @param Array $keys 定义新二维数组的键值,每个对应一个一维数组 * @param Array $args 阅读全文
posted @ 2020-03-12 14:17
丶Gang
阅读(990)
评论(0)
推荐(0)
摘要:
/** * Notes: 获取时间节点 * 15分钟一个节点 从8:30 ~ 16:30,获取所有的时间节点 * $data 日期:2019-11-04 * Created by xxg@seabig.cn * Date: 2019/11/5 * Time: 13:35 */ public func 阅读全文
posted @ 2020-03-12 14:13
丶Gang
阅读(201)
评论(0)
推荐(0)
摘要:
/** * Notes: 人脸数据-图片的zip压缩包上传 * Created by xxg@seabig.cn * DateTime: 2020-01-06 15:25 */ public function zipUploads() { $this->_globals(); if (!$_FILE 阅读全文
posted @ 2020-03-12 14:11
丶Gang
阅读(716)
评论(0)
推荐(0)
摘要:
/** * 判断是否合法车牌号 * @name isCarLicense * @param $license 车牌号 * @return bool */ public function isCarLicense($license) { //参数判断 if (empty($license)) { re 阅读全文
posted @ 2020-03-12 14:09
丶Gang
阅读(5433)
评论(1)
推荐(0)
摘要:
/** *人民币转大写 * * @param $num 金额 */ function numTrmb($num) { $d = array("零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖"); $e = array('元', '拾', '佰', '仟' 阅读全文
posted @ 2020-03-12 14:00
丶Gang
阅读(184)
评论(0)
推荐(0)
摘要:
/** * Notes: Base64 图片 上传 * Created byxxg@seabig.cn * Date: 2019-12-12 * Time: 13:40 */ public function fileUploads($image) { $this->_globals(); //设置图 阅读全文
posted @ 2020-03-12 13:57
丶Gang
阅读(536)
评论(0)
推荐(0)

浙公网安备 33010602011771号