|
|
@ -99,6 +99,9 @@ public class ConsumeServiceImpl implements ConsumeService { |
|
|
|
{ |
|
|
|
return Result.error("精网号位数小于8位或大于8位"); |
|
|
|
} |
|
|
|
if(consumeUser.getAdminName()==null){ |
|
|
|
return Result.error("管理员不能为空"); |
|
|
|
} |
|
|
|
GoldUser goldUser = userMapper.selectUser(consumeUser.getJwcode().toString()); |
|
|
|
if (goldUser == null) { |
|
|
|
return Result.error("用户不存在"); |
|
|
|