Properties

$extInfo

$extInfo

请求上下文扩展信息,需要与接口负责人约定。格式为json对象。

$limit

$limit

期望获取的最多推荐数量, 默认获取一个推荐内容, 0表示获取所有推荐内容

$sceneId

$sceneId

所使用的场景id,请向接口负责人申请

$startIdx

$startIdx

获取推荐信息的开始位置, 默认从0开始

$userId

$userId

用户openid

$apiParas

$apiParas

$terminalType

$terminalType

$terminalInfo

$terminalInfo

$prodCode

$prodCode

$apiVersion

$apiVersion

$notifyUrl

$notifyUrl

$returnUrl

$returnUrl

$needEncrypt

$needEncrypt

Methods

setExtInfo()

setExtInfo(mixed  $extInfo) : mixed

Parameters

mixed $extInfo

Returns

mixed —

getExtInfo()

getExtInfo() : mixed

Returns

mixed —

setLimit()

setLimit(mixed  $limit) : mixed

Parameters

mixed $limit

Returns

mixed —

getLimit()

getLimit() : mixed

Returns

mixed —

setSceneId()

setSceneId(mixed  $sceneId) : mixed

Parameters

mixed $sceneId

Returns

mixed —

getSceneId()

getSceneId() : mixed

Returns

mixed —

setStartIdx()

setStartIdx(mixed  $startIdx) : mixed

Parameters

mixed $startIdx

Returns

mixed —

getStartIdx()

getStartIdx() : mixed

Returns

mixed —

setUserId()

setUserId(mixed  $userId) : mixed

Parameters

mixed $userId

Returns

mixed —

getUserId()

getUserId() : mixed

Returns

mixed —

getApiMethodName()

getApiMethodName() : mixed

Returns

mixed —

setNotifyUrl()

setNotifyUrl(mixed  $notifyUrl) : mixed

Parameters

mixed $notifyUrl

Returns

mixed —

getNotifyUrl()

getNotifyUrl() : mixed

Returns

mixed —

setReturnUrl()

setReturnUrl(mixed  $returnUrl) : mixed

Parameters

mixed $returnUrl

Returns

mixed —

getReturnUrl()

getReturnUrl() : mixed

Returns

mixed —

getApiParas()

getApiParas() : mixed

Returns

mixed —

getTerminalType()

getTerminalType() : mixed

Returns

mixed —

setTerminalType()

setTerminalType(mixed  $terminalType) : mixed

Parameters

mixed $terminalType

Returns

mixed —

getTerminalInfo()

getTerminalInfo() : mixed

Returns

mixed —

setTerminalInfo()

setTerminalInfo(mixed  $terminalInfo) : mixed

Parameters

mixed $terminalInfo

Returns

mixed —

getProdCode()

getProdCode() : mixed

Returns

mixed —

setProdCode()

setProdCode(mixed  $prodCode) : mixed

Parameters

mixed $prodCode

Returns

mixed —

setApiVersion()

setApiVersion(mixed  $apiVersion) : mixed

Parameters

mixed $apiVersion

Returns

mixed —

getApiVersion()

getApiVersion() : mixed

Returns

mixed —

setNeedEncrypt()

setNeedEncrypt(mixed  $needEncrypt) : mixed

Parameters

mixed $needEncrypt

Returns

mixed —

getNeedEncrypt()

getNeedEncrypt() : mixed

Returns

mixed —