Commit 91d2fae2 by 唐功亮

打印信息

parent 78cc8074
......@@ -6,6 +6,7 @@ import io.office.modules.manage.dao.*;
import io.office.modules.manage.entity.*;
import io.office.modules.manage.utils.DateUtils;
import io.office.modules.manage.utils.MD5Util;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.httpclient.NameValuePair;
import org.apache.commons.httpclient.methods.PostMethod;
import org.dom4j.Document;
......@@ -31,7 +32,7 @@ import javax.servlet.http.HttpSession;
@Service("memberService")
@Slf4j
public class MemberServiceImpl extends ServiceImpl<MemberDao, MemberEntity> implements MemberService {
@Autowired
......@@ -116,7 +117,7 @@ public class MemberServiceImpl extends ServiceImpl<MemberDao, MemberEntity> impl
memberEntity.setOicq("");
memberEntity.setPassword(passWord);
memberEntity.setRegisterip(IPUtils.getIpAddr(request));
System.out.println("注册IP为:"+IPUtils.getIpAddr(request));
log.info("注册IP为:"+IPUtils.getIpAddr(request));
memberEntity.setRegisterdate(new Date());
memberEntity.setUpdatedate(new Date());
memberEntity.setLevels(1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment