From 97c55789fe263fc7f37a394e6ff455e2bfa95a38 Mon Sep 17 00:00:00 2001 From: "apan_youxiang@163.com" Date: Tue, 30 Aug 2022 09:17:38 +0800 Subject: [PATCH] 2 --- 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 e1bc073..eb6220e 100644 --- a/apps/drug/views.py +++ b/apps/drug/views.py @@ -125,7 +125,7 @@ def drug_use_retur_list(): # 试剂称重展示试剂详细信息 @drug_router.route("/get_drug_info", methods=["GET", "POST"]) -# @token_auth.login_required +@token_auth.login_required def get_drug_info(): bar_code = request.values.get("bar_code") data_list = BllMedicament().get_bar_code_drug_info(bar_code=bar_code)