\coupon

Summary

Methods
Properties
Constants
checkSign()
checkSignature()
checkIntoManage()
local_checkSignature()
local_decryptMsg()
buildSignature()
encryptMsg()
decryptMsg()
xmlDetract()
xmlExtract()
local_xmlExtract()
queryAvailableMessages()
queryAvailablePackets()
isMenuSupported()
menuCreate()
menuBuild()
menuDelete()
menuModify()
menuCurrentQuery()
menuQuery()
fansQueryInfo()
fansBatchQueryInfo()
fansAll()
queryBarCodeActions()
barCodeCreateDisposable()
barCodeCreateFixed()
changeSend()
getAccessToken()
getVailableAccessToken()
fetch_token()
fetch_available_token()
clearAccessToken()
getJsApiTicket()
getJssdkConfig()
long2short()
fetchChatLog()
isTagSupported()
fansTagAdd()
fansTagFetchAll()
fansTagEdit()
fansTagDelete()
fansTagGetUserlist()
fansTagTagging()
fansTagBatchTagging()
fansTagBatchUntagging()
fansTagFetchOwnTags()
fansSendAll()
fansSendPreview()
sendCustomNotice()
sendTplNotice()
uploadMedia()
uploadMediaFixed()
editMaterialNews()
uploadNewsThumb()
uploadVideoFixed()
uploadVideo()
uploadNews()
addMatrialNews()
batchGetMaterial()
getMaterial()
downloadMedia()
getMaterialCount()
delMaterial()
changeOrderStatus()
getOauthUserInfo()
getOauthInfo()
getOauthAccessToken()
getShareAddressConfig()
getOauthCodeUrl()
getOauthUserInfoUrl()
getFansStat()
getComment()
commentReply()
commentMark()
commentDelete()
commentReplyDelete()
commentSwitch()
getMaterialSupport()
__construct()
__get()
create()
token()
createByUniacid()
includes()
getClassName()
fetchAccountInfo()
__toArray()
parse()
response()
errorCode()
getCardTicket()
LocationLogoupload()
SetTestWhiteList()
LocationAdd()
LocationEdit()
LocationDel()
LocationBatchGet()
LocationGet()
GetColors()
isCouponSupported()
CreateCard()
DeleteCard()
setActivateUserForm()
activateMemberCard()
ModifyStockCard()
QrCard()
sendCoupons()
UnavailableCode()
ConsumeCode()
selfConsume()
DecryptCode()
fetchCard()
updateMemberCard()
batchgetCard()
updateCard()
PayConsumeCode()
SignatureCard()
BuildCardExt()
AddCard()
OpenCard()
ChooseCard()
BatchAddCard()
$types
$uniacid
$account
No constants found
getAccountInfo()
requestApi()
fetchDisplayUrl()
fetchCurrentUserRole()
fetchLogo()
fetchQrcode()
fetchSwitchUrl()
fetchOwner()
fetchStartTime()
fetchEndTime()
fetchGroups()
fetchSetting()
fetchGroupLevel()
fetchSetMeal()
fetchSameAccountExist()
supportOauthInfo()
supportJssdk()
$tablename
$menuFrame
$type
$typeName
$typeSign
$owner
$groups
$setting
$startTime
$endTime
$groupLevel
$logo
$qrcode
$switchUrl
$displayUrl
$setMeal
$sameAccountExist
$typeTemplate
$supportVersion
$supportOauthInfo
$supportJssdk
$toArrayMap
N/A
encryptErrorCode()
$accountClassname
$accountObj
N/A

Properties

$types

$types : 

Type

$uniacid

$uniacid : 

Type

$account

$account : 

Type

$tablename

$tablename : 

Type

$menuFrame

$menuFrame : 

Type

$type

$type : 

Type

$typeName

$typeName : 

Type

$typeSign

$typeSign : 

Type

$owner

$owner : 

Type

$groups

$groups : 

Type

$setting

$setting : 

Type

$startTime

$startTime : 

Type

$endTime

$endTime : 

Type

$groupLevel

$groupLevel : 

Type

$logo

$logo : 

Type

$qrcode

$qrcode : 

Type

$switchUrl

$switchUrl : 

Type

$displayUrl

$displayUrl : 

Type

$setMeal

$setMeal : 

Type

$sameAccountExist

$sameAccountExist : 

Type

$typeTemplate

$typeTemplate : 

Type

$supportVersion

$supportVersion : 

Type

$supportOauthInfo

$supportOauthInfo : 

Type

$supportJssdk

$supportJssdk : 

Type

$toArrayMap

$toArrayMap : 

Type

$accountClassname

$accountClassname : 

Type

$accountObj

$accountObj : 

Type

Methods

checkSign()

checkSign() 

checkSignature()

checkSignature(  $encrypt_msg) 

Parameters

$encrypt_msg

checkIntoManage()

checkIntoManage() 

local_checkSignature()

local_checkSignature(  $packet) 

Parameters

$packet

local_decryptMsg()

local_decryptMsg(  $postData) 

Parameters

$postData

buildSignature()

buildSignature(  $encrypt_msg) 

Parameters

$encrypt_msg

encryptMsg()

encryptMsg(  $text) 

Parameters

$text

decryptMsg()

decryptMsg(  $postData) 

Parameters

$postData

xmlDetract()

xmlDetract(  $data) 

Parameters

$data

xmlExtract()

xmlExtract(  $message) 

Parameters

$message

local_xmlExtract()

local_xmlExtract(  $message) 

Parameters

$message

queryAvailableMessages()

queryAvailableMessages() 

queryAvailablePackets()

queryAvailablePackets() 

isMenuSupported()

isMenuSupported() 

menuCreate()

menuCreate(  $menu) 

Parameters

$menu

menuBuild()

menuBuild(  $data_array,   $is_conditional = false) 

Parameters

$data_array
$is_conditional

menuDelete()

menuDelete(  $menuid) 

Parameters

$menuid

menuModify()

menuModify(  $menu) 

Parameters

$menu

menuCurrentQuery()

menuCurrentQuery() 

menuQuery()

menuQuery() 

fansQueryInfo()

fansQueryInfo(  $uniid,   $isOpen = true) 

Parameters

$uniid
$isOpen

fansBatchQueryInfo()

fansBatchQueryInfo(  $data) 

Parameters

$data

fansAll()

fansAll(  $startopenid = '') 

Parameters

$startopenid

queryBarCodeActions()

queryBarCodeActions() 

barCodeCreateDisposable()

barCodeCreateDisposable(  $barcode) 

Parameters

$barcode

barCodeCreateFixed()

barCodeCreateFixed(  $barcode) 

Parameters

$barcode

changeSend()

changeSend(  $send) 

Parameters

$send

getAccessToken()

getAccessToken() 

getVailableAccessToken()

getVailableAccessToken() 

fetch_token()

fetch_token() 

fetch_available_token()

fetch_available_token() 

clearAccessToken()

clearAccessToken() 

getJsApiTicket()

getJsApiTicket() 

getJssdkConfig()

getJssdkConfig(  $url = '') 

Parameters

$url

long2short()

long2short(  $longurl) 

Parameters

$longurl

fetchChatLog()

fetchChatLog(  $params = array()) 

Parameters

$params

isTagSupported()

isTagSupported() 

fansTagAdd()

fansTagAdd(  $tagname) 

Parameters

$tagname

fansTagFetchAll()

fansTagFetchAll() 

fansTagEdit()

fansTagEdit(  $tagid,   $tagname) 

Parameters

$tagid
$tagname

fansTagDelete()

fansTagDelete(  $tagid) 

Parameters

$tagid

fansTagGetUserlist()

fansTagGetUserlist(  $tagid,   $next_openid = '') 

Parameters

$tagid
$next_openid

fansTagTagging()

fansTagTagging(  $openid,   $tagids) 

Parameters

$openid
$tagids

fansTagBatchTagging()

fansTagBatchTagging(  $openid_list,   $tagid) 

Parameters

$openid_list
$tagid

fansTagBatchUntagging()

fansTagBatchUntagging(  $openid_list,   $tagid) 

Parameters

$openid_list
$tagid

fansTagFetchOwnTags()

fansTagFetchOwnTags(  $openid) 

Parameters

$openid

fansSendAll()

fansSendAll(  $group,   $msgtype,   $media_id) 

Parameters

$group
$msgtype
$media_id

fansSendPreview()

fansSendPreview(  $wxname,   $content,   $msgtype) 

Parameters

$wxname
$content
$msgtype

sendCustomNotice()

sendCustomNotice(  $data) 

Parameters

$data

sendTplNotice()

sendTplNotice(  $touser,   $template_id,   $postdata,   $url = '',   $topcolor = '#FF683F',   $miniprogram = array('appid' => '', 'pagepath' => '')) 

Parameters

$touser
$template_id
$postdata
$url
$topcolor
$miniprogram

uploadMedia()

uploadMedia(  $path,   $type = 'image') 

Parameters

$path
$type

uploadMediaFixed()

uploadMediaFixed(  $path,   $type = 'images') 

Parameters

$path
$type

editMaterialNews()

editMaterialNews(  $data) 

Parameters

$data

uploadNewsThumb()

uploadNewsThumb(  $thumb) 

Parameters

$thumb

uploadVideoFixed()

uploadVideoFixed(  $title,   $description,   $path) 

Parameters

$title
$description
$path

uploadVideo()

uploadVideo(  $data) 

Parameters

$data

uploadNews()

uploadNews(  $data) 

Parameters

$data

addMatrialNews()

addMatrialNews(  $data) 

Parameters

$data

batchGetMaterial()

batchGetMaterial(  $type = 'news',   $offset,   $count = 20) 

Parameters

$type
$offset
$count

getMaterial()

getMaterial(  $media_id,   $savefile = true) 

Parameters

$media_id
$savefile

downloadMedia()

downloadMedia(  $media_id,   $savefile = true) 

Parameters

$media_id
$savefile

getMaterialCount()

getMaterialCount() 

delMaterial()

delMaterial(  $media_id) 

Parameters

$media_id

changeOrderStatus()

changeOrderStatus(  $send) 

Parameters

$send

getOauthUserInfo()

getOauthUserInfo(  $accesstoken,   $openid) 

Parameters

$accesstoken
$openid

getOauthInfo()

getOauthInfo(  $code = '') 

Parameters

$code

getOauthAccessToken()

getOauthAccessToken() 

getShareAddressConfig()

getShareAddressConfig() 

getOauthCodeUrl()

getOauthCodeUrl(  $callback,   $state = '') 

Parameters

$callback
$state

getOauthUserInfoUrl()

getOauthUserInfoUrl(  $callback,   $state = '') 

Parameters

$callback
$state

getFansStat()

getFansStat() 

getComment()

getComment(  $msg_data_id,   $index,   $type,   $begin,   $count = 50) 

Parameters

$msg_data_id
$index
$type
$begin
$count

commentReply()

commentReply(  $msg_data_id,   $user_comment_id,   $content,   $index) 

Parameters

$msg_data_id
$user_comment_id
$content
$index

commentMark()

commentMark(  $msg_data_id,   $user_comment_id,   $comment_type,   $index) 

Parameters

$msg_data_id
$user_comment_id
$comment_type
$index

commentDelete()

commentDelete(  $msg_data_id,   $user_comment_id,   $index) 

Parameters

$msg_data_id
$user_comment_id
$index

commentReplyDelete()

commentReplyDelete(  $msg_data_id,   $user_comment_id,   $index) 

Parameters

$msg_data_id
$user_comment_id
$index

commentSwitch()

commentSwitch(  $msg_data_id,   $need_open_comment,   $index) 

Parameters

$msg_data_id
$need_open_comment
$index

getMaterialSupport()

getMaterialSupport() 

__construct()

__construct(  $acid = '') 

Parameters

$acid

__get()

__get(  $name) 

Parameters

$name

create()

create(  $acidOrAccount = array()) 

Parameters

$acidOrAccount

token()

token(  $type = 1) 

Parameters

$type

createByUniacid()

createByUniacid(  $uniacid) 

Parameters

$uniacid

includes()

includes(  $uniaccount) 

Parameters

$uniaccount

getClassName()

getClassName(  $filename) 

Parameters

$filename

fetchAccountInfo()

fetchAccountInfo() 

__toArray()

__toArray() 

parse()

parse(  $message) 

Parameters

$message

response()

response(  $packet) 

Parameters

$packet

errorCode()

errorCode(  $code,   $errmsg = '未知错误') 

Parameters

$code
$errmsg

getCardTicket()

getCardTicket() 

LocationLogoupload()

LocationLogoupload(  $logo) 

Parameters

$logo

SetTestWhiteList()

SetTestWhiteList(  $data) 

Parameters

$data

LocationAdd()

LocationAdd(  $data) 

Parameters

$data

LocationEdit()

LocationEdit(  $data) 

Parameters

$data

LocationDel()

LocationDel(  $id) 

Parameters

$id

LocationBatchGet()

LocationBatchGet(  $data = array()) 

Parameters

$data

LocationGet()

LocationGet(  $id) 

Parameters

$id

GetColors()

GetColors() 

isCouponSupported()

isCouponSupported() 

CreateCard()

CreateCard(  $card) 

Parameters

$card

DeleteCard()

DeleteCard(  $card_id) 

Parameters

$card_id

setActivateUserForm()

setActivateUserForm(  $card_id) 

Parameters

$card_id

activateMemberCard()

activateMemberCard(  $data) 

Parameters

$data

ModifyStockCard()

ModifyStockCard(  $card_id,   $num) 

Parameters

$card_id
$num

QrCard()

QrCard(  $card_id,   $sceneid,   $expire = '') 

Parameters

$card_id
$sceneid
$expire

sendCoupons()

sendCoupons(  $coupon,   $openids) 

Parameters

$coupon
$openids

UnavailableCode()

UnavailableCode(  $data) 

Parameters

$data

ConsumeCode()

ConsumeCode(  $data) 

Parameters

$data

selfConsume()

selfConsume(  $data) 

Parameters

$data

DecryptCode()

DecryptCode(  $data) 

Parameters

$data

fetchCard()

fetchCard(  $card_id) 

Parameters

$card_id

updateMemberCard()

updateMemberCard(  $post) 

Parameters

$post

batchgetCard()

batchgetCard(  $data) 

Parameters

$data

updateCard()

updateCard(  $card_id) 

Parameters

$card_id

PayConsumeCode()

PayConsumeCode(  $data) 

Parameters

$data

SignatureCard()

SignatureCard(  $data) 

Parameters

$data

BuildCardExt()

BuildCardExt(  $id,   $openid = '',   $type = 'coupon') 

Parameters

$id
$openid
$type

AddCard()

AddCard(  $id) 

Parameters

$id

OpenCard()

OpenCard(  $id,   $code) 

Parameters

$id
$code

ChooseCard()

ChooseCard(  $card_id) 

Parameters

$card_id

BatchAddCard()

BatchAddCard(  $data) 

Parameters

$data

getAccountInfo()

getAccountInfo(  $acid) 

Parameters

$acid

requestApi()

requestApi(  $url,   $post = '') 

Parameters

$url
$post

fetchDisplayUrl()

fetchDisplayUrl() 

fetchCurrentUserRole()

fetchCurrentUserRole() 

fetchLogo()

fetchLogo() 

fetchQrcode()

fetchQrcode() 

fetchSwitchUrl()

fetchSwitchUrl() 

fetchOwner()

fetchOwner() 

fetchStartTime()

fetchStartTime() 

fetchEndTime()

fetchEndTime() 

fetchGroups()

fetchGroups() 

fetchSetting()

fetchSetting() 

fetchGroupLevel()

fetchGroupLevel() 

fetchSetMeal()

fetchSetMeal() 

fetchSameAccountExist()

fetchSameAccountExist() 

supportOauthInfo()

supportOauthInfo() 

supportJssdk()

supportJssdk() 

encryptErrorCode()

encryptErrorCode(  $code) 

Parameters

$code