|
|
|
@ -39,8 +39,9 @@ def get_use_drug_list():
|
|
|
|
|
|
|
|
|
|
# 创建申请记录
|
|
|
|
|
@temporary_bp.route("/add", methods=["POST"])
|
|
|
|
|
@token_auth.login_required
|
|
|
|
|
def user_apply_log():
|
|
|
|
|
user_id = request.values.get("user_id")
|
|
|
|
|
# user_id = request.values.get("user_id")
|
|
|
|
|
user_id_pt = request.values.get("user_id_pt")
|
|
|
|
|
func_type = request.values.get("func_type")
|
|
|
|
|
use_doc = request.values.get("use_doc")
|
|
|
|
@ -56,7 +57,7 @@ def user_apply_log():
|
|
|
|
|
if not use_content:
|
|
|
|
|
return jsonify(Utils.false_return(msg='内容为空,无需提交'))
|
|
|
|
|
obj = EntityUserApply(
|
|
|
|
|
user_id = user_id,
|
|
|
|
|
user_id = g.current_user.user_id,
|
|
|
|
|
user_id_pt = user_id_pt,
|
|
|
|
|
# drug_name = drug_name,
|
|
|
|
|
# drug_num = drug_num,
|
|
|
|
|