|
|
@@ -189,10 +189,10 @@ public class DomainOrderService {
|
|
|
|
|
|
public AtomicBoolean checkPoint(Long userId) {
|
|
|
AtomicBoolean atomicBoolean = new AtomicBoolean(false);
|
|
|
- User user = userRepo.findById(userId).orElseThrow(new BusinessException("用户不存在"));
|
|
|
- if (user.getVipPoint() > 0) {
|
|
|
- atomicBoolean.set(true);
|
|
|
- }
|
|
|
+// User user = userRepo.findById(userId).orElseThrow(new BusinessException("用户不存在"));
|
|
|
+// if (user.getVipPoint() > 0) {
|
|
|
+// atomicBoolean.set(true);
|
|
|
+// }
|
|
|
return atomicBoolean;
|
|
|
// Map<Long, Long> collections = JSONObject.parseObject(sysConfigService
|
|
|
// .getString("domain_collection"), new TypeReference<HashMap<Long, Long>>() {
|