正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
| ... | ... | @@ -31,7 +31,7 @@ class Api(ApiTemplate): |
| 31 | 31 | passwd = self.para.get("passwd") |
| 32 | 32 | database = self.para.get("database") |
| 33 | 33 | encryption = int(self.para.get("encryption","0")) |
| 34 | - if encryption: | |
| 34 | + if encryption == 1: | |
| 35 | 35 | # passwd = DES.decode(passwd) |
| 36 | 36 | passwd = AESHelper.decode(passwd) |
| 37 | 37 | ... | ... |
请
注册
或
登录
后发表评论