release- 修改controller适配swagger

release-2024-08-08
huangyawei 1 month ago
parent 42a6397241
commit a18a8ca557

@ -34,7 +34,7 @@ public class StoreController {
@Autowired
private StoreService storeService;
@RequestMapping("/list/{page}/{size}")
@PostMapping(value = "/list/{page}/{size}")
@GlobalInterceptor(checkAdminLogin = true)
@ApiOperation(value = "获取门店列表(PC)", notes = "获取门店列表")
public Result<PageResult<StorePCVO>> getStoreList(
@ -46,7 +46,7 @@ public class StoreController {
return Result.success(storeService.getList(storeSearchDto, page, size));
}
@RequestMapping("/app/list")
@PostMapping("/app/list")
@ApiOperation(value = "获取门店列表(APP)", notes = "获取门店列表")
@GlobalInterceptor(checkAppUserLogin = true)
public Result<List<StoreAppVO>> getStoreList(
@ -55,7 +55,7 @@ public class StoreController {
return Result.success(storeService.getListForApp(storeSearchDto));
}
@RequestMapping("/get")
@GetMapping("/get")
@GlobalInterceptor(checkAdminLogin = true)
@ApiOperation(value = "获取门店详情(PC)", notes = "获取门店详情")
public Result<Store> getStore(String id) {

Loading…
Cancel
Save