diff --git a/src/main/java/cn/com/tenlion/systemcard/controller/app/api/cardconfigcolumngroup/CardConfigColumnGroupAppController.java b/src/main/java/cn/com/tenlion/systemcard/controller/app/api/cardconfigcolumngroup/CardConfigColumnGroupAppController.java index 71026aa..ae44cc0 100644 --- a/src/main/java/cn/com/tenlion/systemcard/controller/app/api/cardconfigcolumngroup/CardConfigColumnGroupAppController.java +++ b/src/main/java/cn/com/tenlion/systemcard/controller/app/api/cardconfigcolumngroup/CardConfigColumnGroupAppController.java @@ -93,6 +93,7 @@ public class CardConfigColumnGroupAppController extends DefaultBaseController { break; case "2" : // 企业普通版 // 查询公司表 , 判断是否为公司负责人 , 如果只是公司员工则不显示 + params.put("configColumnRole", "2"); params.put("configColumnGroupRole", "2"); break; case "3" : diff --git a/src/main/java/cn/com/tenlion/systemcard/util/PayUtil.java b/src/main/java/cn/com/tenlion/systemcard/util/PayUtil.java index 72f7812..64d6f76 100644 --- a/src/main/java/cn/com/tenlion/systemcard/util/PayUtil.java +++ b/src/main/java/cn/com/tenlion/systemcard/util/PayUtil.java @@ -2,6 +2,7 @@ package cn.com.tenlion.systemcard.util; import cn.com.tenlion.projectconfig.util.ProjectConfigUtil; import ink.wgink.interfaces.consts.ISystemConstant; +import ink.wgink.util.verification.share.ShareCodeUtil; import org.joda.time.DateTime; import org.joda.time.Days; import org.joda.time.format.DateTimeFormat; @@ -18,13 +19,9 @@ public class PayUtil { } public static void main(String[] args) { - String registerTime = "2021-08-31 08:09:09"; - DateTime registerDateTime = DateTime.parse(registerTime, DateTimeFormat.forPattern(ISystemConstant.DATE_FORMATTER_YYYY_MM_DD_HH_MM_SS)); - // DateTime withdrawDateTime = registerDateTime.plusDays(3); - int lastDay = Days.daysBetween(registerDateTime , DateTime.now()).getDays(); - System.out.println(lastDay); - if(lastDay > 0) { - // 可以提现 - } + + for(long i = 1 ; i < 13 ; i++) { + System.out.println( ShareCodeUtil.gen(i)); + } } }