示例#1
0
 /**
  * 根据输入参数term_id,auth_code验证auth_code是否正确
  *
  * @return
  */
 protected boolean validAuthCode() {
   if (StringUtils.isNotBlank(mobile_id) && StringUtils.isNotBlank(auth_code)) {
     String cacheAuthCode = mdbImpl.getString(MsiRedisKey.getAuthcodeKey(mobile_id));
     if (null != cacheAuthCode) {
       return cacheAuthCode.equals(auth_code);
     }
   }
   return false;
 }