未验证 提交 5b1f1b55 编写于 作者: Z zlt 提交者: GitHub

Merge pull request #16 from Seven4X/master

rename listClent to listClient
......@@ -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"));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册