\App\Http\Business\DaoProxyIpDao

Summary

Methods
Properties
Constants
__construct()
getProxyIpList()
addProxyIp()
updateProxyIp()
deleteProxyIp()
findUniqueProxyIp()
allNoIpAddressProxyIp()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$proxy_ip_model
N/A

Properties

$proxy_ip_model

$proxy_ip_model : 

代理IP 模型申明

Type

Methods

__construct()

__construct() 

ProxyIpDao constructor.

getProxyIpList()

getProxyIpList(array  $condition = array(), array  $columns = array('*'), array  $relatives = array()) : mixed

获取代理IP列表

Parameters

array $condition
array $columns
array $relatives

Returns

mixed

addProxyIp()

addProxyIp(array  $ip_data = array()) : \Laravel\Lumen\Application|mixed

添加代理IP

Parameters

array $ip_data

Throws

\App\Exceptions\JsonException

Returns

\Laravel\Lumen\Application|mixed

updateProxyIp()

updateProxyIp(  $unique_id, array  $ip_data = array()) : mixed

更新代理IP

Parameters

$unique_id
array $ip_data

Throws

\App\Exceptions\JsonException

Returns

mixed

deleteProxyIp()

deleteProxyIp(  $unique_id) : mixed

删除代理IP

Parameters

$unique_id

Throws

\App\Exceptions\JsonException

Returns

mixed

findUniqueProxyIp()

findUniqueProxyIp(  $ip,   $port,   $protocol) : mixed

查询唯一性 代理Ip

Parameters

$ip
$port
$protocol

Returns

mixed

allNoIpAddressProxyIp()

allNoIpAddressProxyIp() : mixed

所有没有定位的IP里诶博爱

Returns

mixed