\DtApp\ThinkLibrary\service\jdcloudVientianeService

京东万象 https://wx.jdcloud.com/ Class VientianeService

Summary

Methods
Properties
Constants
__construct()
instance()
appKey()
param()
pm25Cities()
heFreeWeather()
jiSuApiWeather()
jiSuApiSearch()
rtBaSiaIpAreaDict()
No public properties found
No constants found
initialize()
$app
N/A
http()
$url
$param
$app_key
N/A

Properties

$app

$app : \think\App

应用实例

Type

\think\App

$url

$url : 

Type

$param

$param : 

Type

$app_key

$app_key : 

Type

Methods

__construct()

__construct(\think\App  $app) 

Service constructor.

Parameters

\think\App $app

instance()

instance(array  $args) : static

静态实例对象

Parameters

array $args

Returns

static

appKey()

appKey(string  $appKey) : $this

您申请的appkey

Parameters

string $appKey

Returns

$this

param()

param(array  $param) : $this

组参

Parameters

array $param

Returns

$this

pm25Cities()

pm25Cities() : array|boolean|mixed|string

空气质量实时数据 https://wx.jdcloud.com/market/datas/26/1656

Returns

array|boolean|mixed|string

heFreeWeather()

heFreeWeather() 

中国和世界天气预报 https://wx.jdcloud.com/market/datas/26/10610

jiSuApiWeather()

jiSuApiWeather() 

全国天气预报 https://wx.jdcloud.com/market/datas/26/11065

jiSuApiSearch()

jiSuApiSearch() 

菜谱大全 https://wx.jdcloud.com/market/datas/26/11072

rtBaSiaIpAreaDict()

rtBaSiaIpAreaDict() 

IP商圈字典 https://wx.jdcloud.com/market/datas/26/13432

initialize()

initialize() : $this

初始化服务

Returns

$this

http()

http() : array|boolean|mixed|string

请求

Returns

array|boolean|mixed|string