修改 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();
      }
}
posted @ 2019-10-17 16:38  GetcharZp  阅读(214)  评论(0编辑  收藏  举报