private void addHongBao(long uid, String uname) {
   Hongbao hongbao = new Hongbao();
   hongbao.setContent("用户安装您的推广包,您获得一个红包,拆开可以获取金币");
   hongbao.setIsOpen(0);
   hongbao.setPoint(100);
   hongbao.setIsXiTong(0);
   hongbao.setTime(new Timestamp(System.currentTimeMillis()).toString());
   hongbao.setUid(uid);
   hongbao.setuName(uname);
   hServer.addHongBao(hongbao);
 }
 private void addFirstRegestHongBao(long uid) {
   Hongbao hongbao = new Hongbao();
   hongbao.setContent("欢迎新用户,系统赠送您一个红包,推广用户可以获取无限红包哦" + "");
   hongbao.setIsOpen(0);
   hongbao.setPoint(100);
   hongbao.setIsXiTong(1);
   hongbao.setTime(new Timestamp(System.currentTimeMillis()).toString());
   hongbao.setUid(uid);
   hongbao.setuName("系统");
   hServer.addHongBao(hongbao);
 }