@Override
 public int isUIDExist(Message m) throws TException {
   WeiboUtil icommon = new WeiboUtil(myProperties);
   if (icommon.isUidExist(m.uid) == true) {
     MyLog.logINFO("user:"******" exist");
     return 1;
   } else {
     MyLog.logINFO("user:"******" no exist");
     return 0;
   }
 }
 @Override
 public int delUID(Message m) throws TException {
   WeiboUtil icommon = new WeiboUtil(myProperties);
   if (icommon.delUser(m.uid) == true) {
     Weibosql mysql = new Weibosql(myProperties);
     mysql.deleteUser(m.uid);
     MyLog.logINFO("del:" + m.uid + " ok");
     return 1;
   } else {
     MyLog.logINFO("del:" + m.uid + " error");
     return 0;
   }
 }
 @Override
 public int addUID(Message m) throws TException {
   WeiboUtil icommon = new WeiboUtil(myProperties);
   if (icommon.writeUser(m.uid)) {
     MyLog.logINFO("write:" + m.uid + " ok");
     WeiboSpider spider = new WeiboSpider();
     spider.extractStatus(m.uid);
     return 1;
   } else {
     MyLog.logINFO("write:" + m.uid + " error");
     return 0;
   }
 }