From 70d2a5d0f9c6951b2d4cac954041ed73582ff7eb Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期一, 09 六月 2025 11:54:00 +0800 Subject: [PATCH] 6.9新增登录失败冻结逻辑 --- springcloud_k8s_panzhihuazhihuishequ/huacheng_union_applets/src/main/java/com/chuangongzhijia/huacheng_union_applets/api/UnionInspectionApi.java | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/huacheng_union_applets/src/main/java/com/chuangongzhijia/huacheng_union_applets/api/UnionInspectionApi.java b/springcloud_k8s_panzhihuazhihuishequ/huacheng_union_applets/src/main/java/com/chuangongzhijia/huacheng_union_applets/api/UnionInspectionApi.java index e64d429..c4e0dd8 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/huacheng_union_applets/src/main/java/com/chuangongzhijia/huacheng_union_applets/api/UnionInspectionApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/huacheng_union_applets/src/main/java/com/chuangongzhijia/huacheng_union_applets/api/UnionInspectionApi.java @@ -1,17 +1,17 @@ package com.chuangongzhijia.huacheng_union_applets.api; +import com.panzhihua.common.controller.BaseController; import com.panzhihua.common.model.dtos.equipment.UnionInspectionDto; -import com.panzhihua.common.model.vos.LoginUserInfoVO; +import com.panzhihua.common.model.dtos.equipment.UnionUserDto; import com.panzhihua.common.model.vos.R; import com.panzhihua.common.service.community.CommunityUnionService; -import com.panzhihua.common.service.user.UserService; import io.swagger.annotations.Api; -import io.swagger.annotations.ApiOperation; import lombok.extern.slf4j.Slf4j; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; + import javax.annotation.Resource; @@ -20,7 +20,7 @@ @Api(tags = {"户外劳工站巡查"}) @RestController @RequestMapping("/unionInspection") -public class UnionInspectionApi { +public class UnionInspectionApi{ @Resource private CommunityUnionService communityUnionService; @@ -31,10 +31,10 @@ * @param unionInspectionDto * @return 新增结果 */ - @ApiOperation(value = "新增户外劳工站巡查") @PostMapping("/add") public R add(@RequestBody UnionInspectionDto unionInspectionDto) { - return communityUnionService.add(unionInspectionDto); + unionInspectionDto.setIsApplets(3); + return communityUnionService.add(unionInspectionDto); } @@ -44,9 +44,9 @@ * @param unionInspectionDto * @return 动态结果 */ - @ApiOperation(value = "分页户外劳工站巡查") @PostMapping("/query") public R query(@RequestBody UnionInspectionDto unionInspectionDto) { + unionInspectionDto.setIsApplets(3); return communityUnionService.query(unionInspectionDto); } } -- Gitblit v1.7.1