@@ -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: |