elog

Kimi.Huang %!s(int64=5) %!d(string=hace) años
padre
commit
5b47babbb6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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: