elog

Kimi.Huang лет %!s(int64=5): %!d(string=назад)
Родитель
Сommit
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: