elog

Kimi.Huang 5 年之前
父節點
當前提交
5b47babbb6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/encrypt_views.py

+ 1 - 1
api/encrypt_views.py

@@ -135,7 +135,7 @@ def decrypt(request):
135 135
 
136 136
     # 红包
137 137
     try:
138
-        elog = MchInfoEncryptLogInfo.objects.get(sn=sn)
138
+        elog = MchInfoEncryptLogInfo.objects.get(plaintext=plaintext)
139 139
     except MchInfoEncryptLogInfo.DoesNotExist:
140 140
         elog = None
141 141
     except MchInfoEncryptLogInfo.MultipleObjectsReturned: