这次分析的网页是字典名称页面首先找到URLhttp://localhost/dev-api/system/dict/type/list?pageNum1pageSize10前端代码可以根据URL中的URI找到api接口total的初始值为0需要后端返回的总条数total是相应数据的总条数后端代码1、接口函数将数据给前端2、service接口返回数据列表Service类实现3、mapper找到数据访问接口4、mybatis连接数据库查找数据5、这个是idea中的日志记录11:10:04.336 [http-nio-8080-exec-84] DEBUG c.r.s.m.S.selectDictTypeList - [debug,137] - Preparing: select dict_id, dict_name, dict_type, status, create_by, create_time, remark from sys_dict_type LIMIT ?, ?11:10:04.338 [http-nio-8080-exec-84] DEBUG c.r.s.m.S.selectDictTypeList - [debug,137] - Parameters: 10(Long), 10(Integer)11:10:04.341 [http-nio-8080-exec-84] DEBUG c.r.s.m.S.selectDictTypeList - [debug,137] - Total: 1如图第二页只有一条数据所以total1