登录返回店铺授权过期日期

This commit is contained in:
谭凯凯
2024-12-10 15:35:49 +08:00
committed by Tankaikai
parent f1240043e6
commit 4a755cfed5

View File

@@ -164,8 +164,8 @@ public class AuthorizationController {
}
// 店铺使用有效期是否过期
authInfo.put("expireDate", null);
if (StrUtil.isNotEmpty(shopId)) {
TbShopInfo shopInfo = shopInfoMapper.selectById(shopId);
if (tbPlussShopStaff != null) {
TbShopInfo shopInfo = shopInfoMapper.selectById(tbPlussShopStaff.getShopId());
if (shopInfo != null) {
Long expireAt = shopInfo.getExpireAt();
Date time = DateUtil.calendar(expireAt).getTime();