admin
2019-07-30 573c491b4a1ba60e12a5678a01c1546c0077c1ee
fanli/src/main/java/com/yeshi/fanli/util/RedisManager.java
@@ -384,8 +384,6 @@
    */
   public void saveSMSVCode(String phone, int type, String code) {
      if (!Constant.IS_OUTNET)
         return;
      String key = "smscode-" + phone + "-" + type;
      // 保存2分钟
      setString(key, code, 120);
@@ -398,8 +396,8 @@
    * @return
    */
   public String getSMSVCode(String phone, int type) {
      if (!Constant.IS_OUTNET)
         return "";
//      if (!Constant.IS_OUTNET)
//         return "";
      String key = "smscode-" + phone + "-" + type;
      // 保存2分钟
      return getString(key);
@@ -413,8 +411,8 @@
    * @param code
    */
   public void clearSMSVCode(String phone, int type) {
      if (!Constant.IS_OUTNET)
         return;
//      if (!Constant.IS_OUTNET)
//         return;
      String key = "smscode-" + phone + "-" + type;
      removeKey(key);
   }