From 9d54d50c7beb2e6f0baee23ad0d536eb53d89eec Mon Sep 17 00:00:00 2001 From: peng <peng.com> Date: 星期一, 25 八月 2025 17:55:06 +0800 Subject: [PATCH] 抽奖活动 --- framework/src/main/java/cn/lili/modules/lmk/service/impl/StoreMemberServiceImpl.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/framework/src/main/java/cn/lili/modules/lmk/service/impl/StoreMemberServiceImpl.java b/framework/src/main/java/cn/lili/modules/lmk/service/impl/StoreMemberServiceImpl.java index 2555f5d..e1a083e 100644 --- a/framework/src/main/java/cn/lili/modules/lmk/service/impl/StoreMemberServiceImpl.java +++ b/framework/src/main/java/cn/lili/modules/lmk/service/impl/StoreMemberServiceImpl.java @@ -1,5 +1,6 @@ package cn.lili.modules.lmk.service.impl; +import cn.hutool.crypto.SecureUtil; import cn.lili.base.Result; import cn.lili.common.security.AuthUser; @@ -58,12 +59,12 @@ public Result add(StoreMemberForm form) { String storeId =UserContext.getCurrentUser().getStoreId(); System.out.println(storeId); -// storeId = "1376433565247471616"; //娴嬭瘯鐢� + // if ( storeId == null){ return null; } ClerkAddDTO clerkAddDTO = new ClerkAddDTO(); - clerkAddDTO.setPassword(form.getPassword()); + clerkAddDTO.setPassword(SecureUtil.md5(form.getPassword())); clerkAddDTO.setRoles(form.getRole()); clerkAddDTO.setUsername(form.getMobile()); clerkAddDTO.setMobile(form.getMobile()); -- Gitblit v1.8.0