From 2ba431be9c12a79783e0f9ef249292b7fa95f2a1 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期一, 25 一月 2021 19:13:58 +0800 Subject: [PATCH] 拼多多备案调整 --- fanli/src/main/java/com/yeshi/fanli/util/ShamHongBaoUtil.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/util/ShamHongBaoUtil.java b/fanli/src/main/java/com/yeshi/fanli/util/ShamHongBaoUtil.java index 6fb856a..944a13a 100644 --- a/fanli/src/main/java/com/yeshi/fanli/util/ShamHongBaoUtil.java +++ b/fanli/src/main/java/com/yeshi/fanli/util/ShamHongBaoUtil.java @@ -8,6 +8,7 @@ import javax.annotation.Resource; +import com.yeshi.fanli.entity.SystemEnum; import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpMethod; import org.apache.commons.httpclient.NameValuePair; @@ -43,7 +44,7 @@ form.setPortrait(shamUser.getPicUrl()); form.setLoginType(-1); form.setOpenid(UUID.randomUUID().toString().replaceAll("-", "") + "-1"); - userInfoService.addUser(form, "23649898"); + userInfoService.addUser(form, SystemEnum.blks); } } @@ -56,7 +57,7 @@ if (cell.getContents() == null || "".equals(cell.getContents().trim())) { continue; } - shamUserService.delete(Long.parseLong(cell.getContents())); + shamUserService.deleteByPrimaryKey(Long.parseLong(cell.getContents())); } } catch (BiffException e) { e.printStackTrace(); -- Gitblit v1.8.0