This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//获取分页 | |
public static function getOffsetLimit($page = 1, $perpage = 50) { | |
if (empty($perpage)) { | |
$perpage = 50; | |
} | |
$page = max(1, $page); | |
$page = min(1000000, $page); | |
$perpage = max($perpage, 1); | |
$perpage = min(10000, $perpage); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @Desc: csv处理函数 | |
* @User: haxianhe | |
* @Date: 2019/4/2 | |
* @Time: 5:03 PM | |
*/ | |
abstract class CSV | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.haxianhe; | |
import static com.haxianhe.ClassA.test; | |
import java.util.function.Predicate; | |
/** | |
* @author haxianhe <[email protected]> | |
* Created on 2021-12-27 | |
*/ |
OlderNewer