登录返回店铺授权过期日期
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user