rename listClent to listClient

This commit is contained in:
zhanglei
2020-04-16 11:03:50 +08:00
parent 5985245f4b
commit 0049e5fbdd
3 changed files with 4 additions and 4 deletions
@@ -29,7 +29,7 @@ public class ClientController {
@GetMapping("/list")
@ApiOperation(value = "应用列表")
public PageResult<Client> list(@RequestParam Map<String, Object> params) {
return clientService.listClent(params, true);
return clientService.listClient(params, true);
}
@GetMapping("/{id}")
@@ -41,7 +41,7 @@ public class ClientController {
@GetMapping("/all")
@ApiOperation(value = "所有应用")
public Result<List<Client>> allClient() {
PageResult<Client> page = clientService.listClent(Maps.newHashMap(), false);
PageResult<Client> page = clientService.listClient(Maps.newHashMap(), false);
return Result.succeed(page.getData());
}
@@ -18,7 +18,7 @@ public interface IClientService extends ISuperService<Client> {
* @param params
* @param isPage 是否分页
*/
PageResult<Client> listClent(Map<String, Object> params, boolean isPage);
PageResult<Client> listClient(Map<String, Object> params, boolean isPage);
void delClient(long id);
}
@@ -50,7 +50,7 @@ public class ClientServiceImpl extends SuperServiceImpl<ClientMapper, Client> im
}
@Override
public PageResult<Client> listClent(Map<String, Object> params, boolean isPage) {
public PageResult<Client> listClient(Map<String, Object> params, boolean isPage) {
Page<Client> page;
if (isPage) {
page = new Page<>(MapUtils.getInteger(params, "page"), MapUtils.getInteger(params, "limit"));