()
| 33 | |
| 34 | @app.route('/encode',methods=["POST"]) |
| 35 | def encrypt(): |
| 36 | param = request.form.get('dataBody') # 获取 post 参数 |
| 37 | encry_param = des_encrypt(param.strip("\n")) |
| 38 | print(param) |
| 39 | print(encry_param) |
| 40 | return encry_param |
| 41 | |
| 42 | @app.route('/decode',methods=["POST"]) |
| 43 | def decrypt(): |
nothing calls this directly
no test coverage detected