diff --git a/apps/drug/views.py b/apps/drug/views.py index 04e6135..609dc7b 100644 --- a/apps/drug/views.py +++ b/apps/drug/views.py @@ -143,7 +143,7 @@ def get_drug_manage(): data_list = BllMedicament().get_drug_list( seach_word=seach_word, client_id=client_id, page_param=page_param ) - return jsonify(Utils.true_return(data=Utils.msyql_table_model(data_list))) + return jsonify(Utils.true_return(data={"data": Utils.msyql_table_model(data_list), "total_count":page_param.totalRecords}))