admin
2020-07-03 651a15c78f668bef3859d9ed1bb7ad0b669d3600
fanli/src/main/java/com/yeshi/fanli/service/impl/user/invite/ThreeSaleSerivceImpl.java
@@ -8,6 +8,7 @@
import javax.annotation.Resource;
import com.yeshi.fanli.util.SystemInfoUtil;
import org.springframework.context.annotation.Lazy;
import org.springframework.core.task.TaskExecutor;
import org.springframework.stereotype.Service;
@@ -100,7 +101,7 @@
      if (worker.getId() == null)// 该用户还不存在
      {
         // 保存用户
         UserInfo inviteeUser = userInfoService.addUser(worker, Constant.APPID);
         UserInfo inviteeUser = userInfoService.addUser(worker,worker.getSystem());
         if (inviteeUser == null)
            throw new ThreeSaleException(2, "创建用户失败");
         // 保存关系