解决分销绑定问题
This commit is contained in:
@@ -146,6 +146,11 @@ public class DistributionServiceImpl extends ServiceImpl<DistributionMapper, Dis
|
||||
|
||||
@Override
|
||||
public void bindingDistribution(String distributionId) {
|
||||
|
||||
//判断用户是否登录,未登录不能进行绑定
|
||||
if(UserContext.getCurrentUser()==null){
|
||||
throw new ServiceException(ResultCode.USER_NOT_LOGIN);
|
||||
}
|
||||
//储存分销关系为3天
|
||||
Distribution distribution = this.getById(distributionId);
|
||||
if (distribution!=null) {
|
||||
|
||||
@@ -59,7 +59,6 @@ public class AppVersionDO{
|
||||
@ApiModelProperty(value = "版本名称")
|
||||
private String versionName;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "更新内容")
|
||||
private String content;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user