rk
昨天 38d111cb6defedff3bf06314ca30d22a01faae22
server/admin/src/main/java/com/doumee/api/business/CategoryController.java
@@ -20,6 +20,7 @@
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
@@ -105,4 +106,14 @@
    public ApiResponse findById(@PathVariable Integer id) {
        return ApiResponse.success(categoryService.findById(id));
    }
    @ApiOperation("战区信息同步")
    @GetMapping("/syncZhanQu")
    public ApiResponse syncZhanQu() throws IOException {
        categoryService.syncZhanQu();
        return ApiResponse.success("同步成功");
    }
}