Commit d74f34ef by YG8429

时长接口数据改为分页数据

parent 6a73dcc4
......@@ -58,12 +58,13 @@ public class DurationLogController extends BaseController {
}
@GetMapping("/shareList")
public AjaxResult shareList(DurationLogVo durationLog) {
public TableDataInfo shareList(DurationLogVo durationLog) {
startPage();
SConsumer user = FrontTokenComponent.getWxSConsumerEntry();
durationLog.setConsumerId(user.getId());
durationLog.setDurationType(DurationTypeEnum.SHARE.getCode());
List<DurationLogVo> list = durationLogService.selectDurationLogList(durationLog);
return success(list);
return getDataTable(list);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment