浏览代码

蛋糕券

fanzherong_v 2 月之前
父节点
当前提交
3cd707c5bc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      snowy-common/src/main/java/vip/xiaonuo/common/util/CommonCouponGeneratorUtil.java

+ 1 - 1
snowy-common/src/main/java/vip/xiaonuo/common/util/CommonCouponGeneratorUtil.java

@@ -24,7 +24,7 @@ public class CommonCouponGeneratorUtil {
             for (byte b : hash) {
             for (byte b : hash) {
                 sb.append(String.format("%02X", b));
                 sb.append(String.format("%02X", b));
             }
             }
-            return "BBT-" + sb.substring(0, 12); // 取前 10 位
+            return "DGQ-" + sb.substring(0, 12); // 取前 10 位
         } catch (NoSuchAlgorithmException e) {
         } catch (NoSuchAlgorithmException e) {
             throw new RuntimeException("MD5 算法不可用", e);
             throw new RuntimeException("MD5 算法不可用", e);
         }
         }