Administrator
20 hours ago 2dd78150e645490fdbfb41ea2c9d6c22d356c21d
fix(mall): 修复公司会员数统计和优化登录令牌缓存策略

- 添加了公司会员数相关日志记录以便调试
- 修复了redis中令牌过期时间设置,从永久改为24小时过期
- 统一了token和redisKey的过期时间为24小时
2 files modified
4 ■■■■ changed files
src/main/java/cc/mrbird/febs/mall/controller/ApiLoginController.java 2 ●●● patch | view | raw | blame | history
src/main/java/cc/mrbird/febs/mall/service/IApiMallMemberService.java 2 ●●● patch | view | raw | blame | history
src/main/java/cc/mrbird/febs/mall/controller/ApiLoginController.java
@@ -74,7 +74,7 @@
     */
    @ApiOperation(value = "小程序登录", notes = "小程序登录")
    @PostMapping(value = "/xcxLogin")
    public FebsResponse xcxLogin(@RequestBody ApiXcxLoginDto apiXcxLoginDto) throws IOException {
    public FebsResponse xcxLogin(@RequestBody ApiXcxLoginDto apiXcxLoginDto){
        return memberService.xcxLogin(apiXcxLoginDto);
    }
src/main/java/cc/mrbird/febs/mall/service/IApiMallMemberService.java
@@ -68,7 +68,7 @@
    List<ShopListVo> findShopListVo(ShopListDto shopListDto);
    FebsResponse xcxLogin(ApiXcxLoginDto apiXcxLoginDto) throws IOException;
    FebsResponse xcxLogin(ApiXcxLoginDto apiXcxLoginDto);
    FebsResponse xcxSaveInfo(ApiXcxSaveInfoDto apiXcxSaveInfoDto);