From d16a0aab41a343c96abd760dce9ccd23075d8da5 Mon Sep 17 00:00:00 2001 From: apan Date: Mon, 8 Aug 2022 11:18:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=AF=95=E5=89=82=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=B1=95=E7=A4=BA=E6=80=BB=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/drug/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}))