mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
modified 完善注释
This commit is contained in:
parent
9a96177e74
commit
fcbd94ea33
@ -35,6 +35,11 @@ class StrRandom {
|
|||||||
return floatval($intNum . '.' . $rand . $floatEnd);
|
return floatval($intNum . '.' . $rand . $floatEnd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 构建随机IP地址
|
||||||
|
* @return string
|
||||||
|
* @author zhaoxiang <zhaoxiang051405@gmail.com>
|
||||||
|
*/
|
||||||
public static function randomIp() {
|
public static function randomIp() {
|
||||||
$ipLong = [
|
$ipLong = [
|
||||||
['607649792', '608174079'], // 36.56.0.0-36.63.255.255
|
['607649792', '608174079'], // 36.56.0.0-36.63.255.255
|
||||||
|
Loading…
x
Reference in New Issue
Block a user