admin
2019-07-30 573c491b4a1ba60e12a5678a01c1546c0077c1ee
fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserInfoExtraServiceImpl.java
@@ -322,7 +322,7 @@
   }
   
   @Override
   public String activateInviteCode(Long uid, String inviteCode) throws UserInfoExtraException{
   public String activateInviteCode(Long uid, String inviteCode, String platform, String version) throws UserInfoExtraException{
      if (uid == null || inviteCode == null) {
         throw new UserInfoExtraException(1, "用户id、邀请码不能为空");
      }
@@ -349,7 +349,7 @@
      
      // 绑定关系
      try {
         threeSaleSerivce.bindRelationshipByInviteCode(invitee, inviter);
         threeSaleSerivce.bindRelationshipByInviteCode(invitee, inviter, platform, version);
      } catch (ThreeSaleException e) {
         try {
            LogHelper.errorDetailInfo(e);
@@ -384,7 +384,7 @@
   
   
   @Override
   public void activationInviteWX(Long uid, String code) throws UserInfoExtraException{
   public void activationInviteWX(Long uid, String code, String platform, String version) throws UserInfoExtraException{
      if (uid == null || code == null) {
         throw new UserInfoExtraException(1, "激活信息不完整");
      }
@@ -465,7 +465,7 @@
      
      // 绑定关系
      try {
         threeSaleSerivce.bindRelationshipByWX(invitee, inviterId, threeSale);
         threeSaleSerivce.bindRelationshipByWX(invitee, inviterId, threeSale, platform, version);
      } catch (ThreeSaleException e) {
         try {
            LogHelper.errorDetailInfo(e);