time(), 're_openid' => 'o38gps3vNdCqaggFfrBRCRikwlWY', 'send_name' => '商户名称😍', 'act_name' => '活动名称', 'total_amount' => '100', 'total_num' => '1', 'wishing' => '感谢您参加猜灯谜活动,祝您元宵节快乐!', 'remark' => '猜越多得越多,快来抢!', 'client_ip' => '127.0.0.1', ]; // 发送红包记录 $result = $wechat->create($options); echo '
';
    var_export($result);
    // 查询红包记录
    $result = $wechat->query($options['mch_billno']);
    var_export($result);

} catch (Exception $e) {

    // 出错啦,处理下吧
    echo $e->getMessage() . PHP_EOL;

}