()
| 41 | |
| 42 | @app.route('/decode',methods=["POST"]) |
| 43 | def decrypt(): |
| 44 | param = request.form.get('dataBody') # 获取 post 参数 |
| 45 | decrypt_param = des_decrypt(param.strip("\n")) |
| 46 | print(param) |
| 47 | print(decrypt_param) |
| 48 | return decrypt_param |
| 49 | |
| 50 | if __name__ == '__main__': |
| 51 | app.debug = True # 设置调试模式,生产模式的时候要关掉debug |
nothing calls this directly
no test coverage detected