\app\mp\controllerEntr

Summary

Methods
Properties
Constants
index()
cardEvent()
mpMsg()
special()
qrcode()
keyword()
subscribe()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$mid
N/A

Properties

$mid

$mid : 

Type

Methods

index()

index(  $mid) 

Parameters

$mid

cardEvent()

cardEvent(  $event,   $msgData) 

卡券事件响应

Parameters

$event
$msgData

mpMsg()

mpMsg(  $msgData) 

消息处理

Parameters

$msgData

special()

special(  $type,   $msgData) 

处理特殊事件

Parameters

$type
$msgData

qrcode()

qrcode(  $result = array(),   $msgData = array()) 

扫码关注/扫码事件

Parameters

$result

array 场景二维码数组

$msgData

array 微信服务器发来数组

keyword()

keyword(  $keyword,   $msg = array()) 

关键词回复规则

Parameters

$keyword

消息文本

$msg

array 微信消息 case 回复类型 text,addon,images,news,voice,music,video

subscribe()

subscribe(  $msg = array(),   $type = 'subscribe') 

粉丝关注\取关

Parameters

$msg
$type