Skip to content

Commit

Permalink
ticket list api add is_end info
Browse files Browse the repository at this point in the history
  • Loading branch information
guiji authored and guiji committed Jun 26, 2019
1 parent 94eea06 commit 3fcf536
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/ticket/ticket_base_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ def get_ticket_list(cls, sn='', title='', username='', create_start='', create_e
creator_info=creator_info,
gmt_created=str(ticket_result_object.gmt_created)[:19],
gmt_modified=str(ticket_result_object.gmt_modified)[:19],
is_end=ticket_result_object.is_end,
))
return ticket_result_restful_list, dict(per_page=per_page, page=page, total=paginator.count)

Expand Down

0 comments on commit 3fcf536

Please sign in to comment.