소스 검색

蛋糕券

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) {
                 sb.append(String.format("%02X", b));
             }
-            return "BBT-" + sb.substring(0, 12); // 取前 10 位
+            return "DGQ-" + sb.substring(0, 12); // 取前 10 位
         } catch (NoSuchAlgorithmException e) {
             throw new RuntimeException("MD5 算法不可用", e);
         }