|
|
@@ -142,7 +142,7 @@ public class UserSubscribeServiceImpl extends ServiceImpl<UserSubscribeMapper, U
|
|
|
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
String dateString = formatter.format(times);
|
|
|
String dateForma =null;
|
|
|
- dateForma = dateString+" "+add.getApplySiteStartTime();
|
|
|
+ dateForma = dateString+" "+add.getApplySiteStartTime().replace("-", ":");
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm");
|
|
|
Long time = sdf.parse(dateForma).getTime() / 1000;
|
|
|
if (System.currentTimeMillis()/1000 > time){
|
|
|
@@ -168,7 +168,7 @@ public class UserSubscribeServiceImpl extends ServiceImpl<UserSubscribeMapper, U
|
|
|
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
String dateString = formatter.format(times);
|
|
|
String dateForma =null;
|
|
|
- dateForma = dateString+" "+add.getApplySiteStartTime();
|
|
|
+ dateForma = dateString+" "+add.getApplySiteStartTime().replace("-", ":");
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm");
|
|
|
Long time = sdf.parse(dateForma).getTime() / 1000;
|
|
|
if (System.currentTimeMillis()/1000 > time){
|