修改 processor.php 文件,监听用户对该应用的消息
修改 processor.php 文件,监听用户对该应用的消息
class cgc_fdModuleProcessor extends WeModuleProcessor {
public function respond() {
global $_W;
$settings = $this->module['config'];
$openid = $this->message['from'];
$modulename = $this->modulename;
$content = $this->message['content'];
//参数二维码的场景值
$sceneid = $this->message['scene'];
$uniacid = $_W['uniacid'];
$cgc_fd_rec = new cgc_fd_rec();
$cgc_fd_goods = new cgc_fd_goods();
}
}