feat:mini
This commit is contained in:
@@ -20,7 +20,7 @@ public class ModifyPasswordDTO {
|
||||
@ApiModelProperty(value = "密码",required = true)
|
||||
String password;
|
||||
@ApiModelProperty(value = "第二密码",required = true)
|
||||
String passwordSecondary;
|
||||
String secondaryPassword;
|
||||
@ApiModelProperty(value = "门店ID",required = true)
|
||||
Long shopId;
|
||||
@ApiModelProperty(value = "门店ID",hidden = true)
|
||||
|
||||
@@ -12,6 +12,7 @@ import com.cool.store.mapper.LineAuditInfoMapper;
|
||||
import com.cool.store.mapper.LineInfoMapper;
|
||||
import com.cool.store.request.JoinIntentionRequest;
|
||||
import com.cool.store.service.JoinIntentionService;
|
||||
import com.cool.store.service.ThirdXinGuanJiaService;
|
||||
import com.cool.store.service.UserAuthMappingService;
|
||||
import com.cool.store.utils.PasswordUtil;
|
||||
import com.cool.store.utils.RedisUtilPool;
|
||||
@@ -63,6 +64,8 @@ public class JoinIntentionServiceImpl extends LineFlowService implements JoinInt
|
||||
CommonService commonService;
|
||||
@Resource
|
||||
HyPartnerUserInfoDAO hyPartnerUserInfoDAO;
|
||||
@Resource
|
||||
ThirdXinGuanJiaService thirdXinGuanJiaService;
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
@@ -131,6 +134,9 @@ public class JoinIntentionServiceImpl extends LineFlowService implements JoinInt
|
||||
String password = PasswordUtil.encryptPassword(substring, salt);
|
||||
HyPartnerUserInfoDO hyPartnerUserInfoDO = hyPartnerUserInfoDAO.selectByPartnerId(lineInfo.getPartnerId());
|
||||
hyPartnerUserInfoDO.setDownstreamSystemPassword(password);
|
||||
|
||||
|
||||
|
||||
hyPartnerUserInfoDO.setDownstreamSystemSalting(salt);
|
||||
hyPartnerUserInfoDO.setUpdateTime(new Date());
|
||||
hyPartnerUserInfoDAO.updatePasswordByPartnerId(hyPartnerUserInfoDO);
|
||||
|
||||
@@ -94,7 +94,7 @@ public class ShopAccountServiceImpl implements ShopAccountService {
|
||||
}
|
||||
HyPartnerUserInfoDO hyPartnerUserInfoDO = hyPartnerUserInfoDAO.selectByPartnerId(shopInfo.getPartnerId());
|
||||
hyPartnerUserInfoDO.setDownstreamSystemPassword(modifyPasswordDTO.getPassword());
|
||||
hyPartnerUserInfoDO.setDownstreamSystemSecondaryPassword(modifyPasswordDTO.getPasswordSecondary());
|
||||
hyPartnerUserInfoDO.setDownstreamSystemSecondaryPassword(modifyPasswordDTO.getSecondaryPassword());
|
||||
hyPartnerUserInfoDO.setDownstreamSystemSalting(modifyPasswordDTO.getPasswordSalt());
|
||||
hyPartnerUserInfoDO.setUpdateTime(new Date());
|
||||
hyPartnerUserInfoDAO.updatePasswordByPartnerId(hyPartnerUserInfoDO);
|
||||
@@ -102,7 +102,7 @@ public class ShopAccountServiceImpl implements ShopAccountService {
|
||||
List<Long> shopIdList = shopInfoDAO.getShopIdList(shopInfo.getLineId());
|
||||
|
||||
//批量修改密码 密码盐
|
||||
shopAccountDAO.batchUpdatePasswordByShopIds(shopIdList,modifyPasswordDTO.getPassword(),modifyPasswordDTO.getPasswordSecondary(),modifyPasswordDTO.getPasswordSalt(),new Date());
|
||||
shopAccountDAO.batchUpdatePasswordByShopIds(shopIdList,modifyPasswordDTO.getPassword(),modifyPasswordDTO.getSecondaryPassword(),modifyPasswordDTO.getPasswordSalt(),new Date());
|
||||
|
||||
//当前加盟商所有开店成功的CODE
|
||||
List<String> shopCodeList = shopInfoDAO.getShopCodeList(shopInfo.getLineId());
|
||||
|
||||
Reference in New Issue
Block a user