我有这段代码,函数B,C,D放代码哪里
```python
from flask import Flask, request
from flask_cors import CORS
import demjson
app = Flask(__name__)
CORS(app)
@app.route("/test_2.2", methods=["POST"])
def A():
data = demjson.decode(request.data)
type = data['type']
if type == "b":
print("别给我发链接")
# 调用B函数
if type == "c":
print("我想要代码")
# 调用C函数
if type == "d":
print("复制能跑的那种")
# 调用D函数
else:
print("能跑必采")
return "ok"
if __name__ == "__main__":
from waitress import serve
serve(app, host="127.0.0.1", port=8083)
```