| | |
| | | package com.doumee.api.cloud; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.config.annotation.LoginNoRequired; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.core.model.ApiResponse; |
| | |
| | | */ |
| | | @Api(tags = "车辆接口") |
| | | @RestController |
| | | @RequestMapping("/cloud/cars") |
| | | @RequestMapping("/cloudService/cars") |
| | | public class CloudCarsController extends BaseController { |
| | | |
| | | @Autowired |
| | | private CarsService carsService; |
| | | @Autowired |
| | | private HkSyncVehicleFromHKServiceImpl hkSyncVehicleFromHKService; |
| | | @PreventRepeat |
| | | @ApiOperation("测试网管") |
| | | @GetMapping("/test") |
| | | public ApiResponse test() { |
| | | return ApiResponse.success("访客管理测试成功"); |
| | | return ApiResponse.success("访客管理测试授权成功"); |
| | | } |
| | | |
| | | @LoginNoRequired |
| | | @ApiOperation("测试网管") |
| | | @GetMapping("/testNoLogin") |
| | | public ApiResponse testNoLogin() { |
| | | return ApiResponse.success("访客管理测试无需登录成功"); |
| | | } |
| | | |
| | | @PreventRepeat |