From 6a80821cea1d71ca4cb6c45239274898f46143f2 Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期三, 05 六月 2019 14:55:48 +0800 Subject: [PATCH] 分类 + 封禁用户方法封装 --- fanli/src/main/java/com/yeshi/fanli/service/impl/taobao/TaoBaoPunishOrderServiceImpl.java | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/taobao/TaoBaoPunishOrderServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/taobao/TaoBaoPunishOrderServiceImpl.java index 97456a3..a9cadbc 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/taobao/TaoBaoPunishOrderServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/taobao/TaoBaoPunishOrderServiceImpl.java @@ -21,10 +21,10 @@ import com.yeshi.fanli.service.inter.order.CommonOrderService; import com.yeshi.fanli.service.inter.order.HongBaoOrderService; import com.yeshi.fanli.service.inter.taobao.TaoBaoPunishOrderService; +import com.yeshi.fanli.service.inter.user.UserAccountService; import com.yeshi.fanli.service.inter.user.UserExtraTaoBaoInfoService; import com.yeshi.fanli.service.inter.user.UserInfoService; import com.yeshi.fanli.util.Constant; -import com.yeshi.fanli.util.StringUtil; @Service public class TaoBaoPunishOrderServiceImpl implements TaoBaoPunishOrderService { @@ -46,6 +46,9 @@ @Resource private UserInfoService userInfoService; + + @Resource + private UserAccountService userAccountService; @Transactional @Override @@ -131,7 +134,7 @@ for (Iterator<Long> its = uidSets.iterator(); its.hasNext();) { Long uid = its.next(); - userInfoService.forbiddenUser(uid, "浜х敓杩濊璁㈠崟鑷姩灏佺"); + userAccountService.forbiddenUserAll(uid, "浜х敓杩濊璁㈠崟鑷姩灏佺"); } } -- Gitblit v1.8.0