|
@@ -600,7 +600,7 @@ public class TenantInfoServiceImpl extends ServiceImpl<TenantInfoDao, TenantInfo
|
|
|
//原子操作 抢锁成功为true
|
|
|
if (!bucket.trySet(tenantId, 10, TimeUnit.SECONDS)) {
|
|
|
if (tenantInfo.getPayState() == 1) {
|
|
|
- throw new BizException("已缴费请勿重复缴费!");
|
|
|
+ throw new BizException("请勿频繁操作!");
|
|
|
}
|
|
|
throw new BizException("正在缴费中请稍后!");
|
|
|
}
|
|
@@ -878,4 +878,9 @@ public class TenantInfoServiceImpl extends ServiceImpl<TenantInfoDao, TenantInfo
|
|
|
|
|
|
return false;
|
|
|
}
|
|
|
+
|
|
|
+ public static void main(String[] args) {
|
|
|
+ System.out.println(new BCryptPasswordEncoder().encode("123456"));
|
|
|
+ }
|
|
|
+
|
|
|
}
|