flask 开发接口测试平台
生活随笔
收集整理的這篇文章主要介紹了
flask 开发接口测试平台
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
flask 開發接口測試平臺
?
數據庫,forms ?views ?視圖,
數據庫如下:
# encoding: utf-8 ''' @author: lileilei @file: models.py @time: 2017/5/6 19:28 ''' from app import db import datetime from werkzeug.security import generate_password_hash,check_password_hash class User(db.Model):#用戶表uer_id=db.Column(db.Integer,primary_key=True,autoincrement=True)#用戶iduser_name=db.Column(db.String(64))#用戶名password=db.Column(db.String(64))#用戶密碼status=db.Column(db.Integer)level=db.Column(db.Integer)user_zhuce_date=db.Column(db.DateTime,default=datetime.datetime.now())#注冊時間user_zhuce_email=db.Column(db.String(64))#注冊ipuser_iphone=db.Column(db.Integer)#手機號user_qq=db.Column(db.Integer)#qqdef __repr__(self):return '<User %r>' % self.user_namedef set_password(self, password):self.password = generate_password_hash(password)def check_password(self, password):return check_password_hash(self.password, password) class Model(db.Model):#模塊model_id=db.Column(db.Integer,primary_key=True,autoincrement=True)model_name = db.Column(db.String(256))status = db.Column(db.Integer) class Interface(db.Model):#接口interface_id=db.Column(db.Integer,primary_key=True,autoincrement=True)model_id=db.Column(db.Integer,db.ForeignKey('model.model_id'))#對應模塊的名字interface_name=db.Column(db.String(64))#接口名字interface_url=db.Column(db.String(1024))#接口地址interface_methd=db.Column(db.String(64))#接口請求方式request_exam=db.Column(db.String(4096))#請求reposnese_exam=db.Column(db.String(4096))#返回stasus=db.Column(db.Integer)#狀態def __repr__(self):return '<Interface name is :%r>'%self.interface_name class Parameter(db.Model):parameter_id = db.Column(db.Integer, primary_key=True, autoincrement=True)interface_id = db.Column(db.Integer, db.ForeignKey("interface.interface_id"))parameter_type = db.Column(db.String(64))parameter_group_id = db.Column(db.Integer)parameter_name = db.Column(db.String(64))necessary = db.Column(db.String(64))type = db.Column(db.String(64))default = db.Column(db.String(64))remark = db.Column(db.String(64))level = db.Column(db.String(64))?
views 視圖函數如下:
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys from flask import render_template, redirect, session, url_for,flash,request from app import app from app import db from .models import Interface, Model, User, Parameter from .forms import LoginForm, ReguistForm,ModelForm, InterfaceForm, ParameterRequestForm, ParameterResponseForm, SubmitForm import datetime # 前臺首頁 @app.route("/", methods=["GET", "POST"]) @app.route("/index", methods=["GET", "POST"]) def index():return render_template("index.html") # 前臺模塊列表 @app.route("/font", methods=["GET", "POST"]) def front():model_all = Model.query.all()model_forms = []for i in range(len(model_all)):model_form = {"model_id": model_all[i].model_id,"model_name": model_all[i].model_name}model_forms.append(model_form)return render_template("front.html",model_forms=model_forms) # 前臺接口列表 @app.route("/front_model/<model_id>", methods=["GET", "POST"]) def front_model(model_id):model_one = Model.query.filter_by(model_id=model_id).first()interface_model_all = Interface.query.filter_by(model_id=model_id).all()interface_model_forms = []for i in range(len(interface_model_all)):interface_model_form = {"interface_id": interface_model_all[i].interface_id,"interface_name": interface_model_all[i].interface_name,"interface_url": interface_model_all[i].interface_url}interface_model_forms.append(interface_model_form)return render_template("front_model.html",model_id=model_id,model_one=model_one,interface_model_forms=interface_model_forms) g_parameter_request = [] g_parameter_response = [] # 前臺接口詳情 @app.route("/front_interface/<model_id>&<interface_id>", methods=["GET", "POST"]) def front_interface(model_id, interface_id):global g_parameter_request, g_parameter_responsemodel_one = Model.query.filter_by(model_id=model_id).first()interface_model_all = Interface.query.filter_by(model_id=model_id).all()interface_model_one = Interface.query.filter_by(interface_id=interface_id).first()interface_model_forms = []for i in range(len(interface_model_all)):interface_model_form = {"interface_id": interface_model_all[i].interface_id,"interface_name": interface_model_all[i].interface_name,"interface_url": interface_model_all[i].interface_url}interface_model_forms.append(interface_model_form)parameter_request_all = Parameter.query.filter_by(interface_id=interface_id, parameter_type=10).all()parameter_request_forms = []for i in range(len(parameter_request_all)):parameter_request_form = {"parameter_id": parameter_request_all[i].parameter_id,"parameter_name": parameter_request_all[i].parameter_name,"necessary": parameter_request_all[i].necessary,"type": parameter_request_all[i].type,"default": parameter_request_all[i].default,"remark": parameter_request_all[i].remark,"parameter_group_id": parameter_request_all[i].parameter_group_id,"level": parameter_request_all[i].level}parameter_request_forms.append(parameter_request_form)parameter_response_all = Parameter.query.filter_by(interface_id=interface_id, parameter_type=20).all()parameter_response_forms = []for i in range(len(parameter_response_all)):parameter_response_form = {"parameter_id": parameter_response_all[i].parameter_id,"parameter_name": parameter_response_all[i].parameter_name,"necessary": parameter_response_all[i].necessary,"type": parameter_response_all[i].type,"default": parameter_response_all[i].default,"remark": parameter_response_all[i].remark,"parameter_group_id": parameter_response_all[i].parameter_group_id,"level": parameter_response_all[i].level}parameter_response_forms.append(parameter_response_form)g_parameter_request = [] # 全局變量、清空列表數據g_parameter_response = [] # 全局變量、清空列表數據 n_parameter_request(parameter_request_forms, parameter_request_all[0].parameter_group_id)n_parameter_response(parameter_response_forms,parameter_response_all[0].parameter_group_id)return render_template("front_interface.html",model_id=model_id,model_one=model_one,interface_model_forms=interface_model_forms,interface_model_one=interface_model_one,g_parameter_request=g_parameter_request,g_parameter_response=g_parameter_response) # 請求參數排序 def n_parameter_request(request, parameter_group_id):for form in request:if form["parameter_group_id"] == parameter_group_id:new_parameter_group_id = form["parameter_id"]g_parameter_request.append(form)n_parameter_request(request, new_parameter_group_id) return g_parameter_request # 返回參數排序 def n_parameter_response(response, parameter_group_id):for form in response:if form["parameter_group_id"] == parameter_group_id:new_parameter_group_id = form["parameter_id"]g_parameter_response.append(form)n_parameter_response(response, new_parameter_group_id)return g_parameter_response # 后臺首頁 @app.route("/home", methods=["GET", "POST"]) def home():if not session.get("logged_in"):return redirect(url_for("login"))return render_template("home.html") # 后臺登錄 @app.route("/login", methods=["GET", "POST"]) def login():form = LoginForm()if form.validate_on_submit():try:user_one = User.query.filter_by(user_name=form.username.data).first()me=user_one.check_password(form.password.data)if me==True and user_one.status == 1:session["logged_in"] = Truereturn redirect(url_for("home"))else:flash('登錄密碼錯誤!請檢測你的密碼')return render_template("login.html", form=form)except AttributeError:flash('登錄fail!')return render_template("login.html", form=form)return render_template("login.html",form=form) # 后臺登出 @app.route("/logout", methods=["GET", "POST"]) def logout():session.pop("logged_in", None)return redirect(url_for("index")) # 模塊管理 @app.route("/model", methods=["GET", "POST"]) def model():if not session.get("logged_in"):return redirect(url_for("login"))model_all = Model.query.all()model_forms = []for i in range(len(model_all)):model_form = {"model_id": model_all[i].model_id,"model_name": model_all[i].model_name}model_forms.append(model_form)return render_template("model.html",model_forms=model_forms) # 新增模塊 @app.route("/addmodel", methods=["GET", "POST"]) def addmodel():if not session.get("logged_in"):return redirect(url_for("login"))add_model = ModelForm()submit = SubmitForm()if submit.validate_on_submit():add = Model(model_name=add_model.model_name.data)db.session.add(add)db.session.commit()return redirect(url_for("model"))return render_template("addmodel.html",add_model=add_model,submit=submit) # 編輯模塊 @app.route("/editmodel/<model_id>", methods=["GET", "POST"]) def editmodel(model_id):if not session.get("logged_in"):return redirect(url_for("login"))model_one = Model.query.filter_by(model_id=model_id).first()edit_model = ModelForm()submit = SubmitForm()if submit.validate_on_submit():model_one.model_name = edit_model.model_name.datadb.session.commit()return redirect(url_for("model"))edit_model.model_name.data = model_one.model_namereturn render_template("editmodel.html",edit_model=edit_model,submit=submit) # 接口列表 @app.route("/interface/<model_id>") def interface(model_id):if not session.get("logged_in"):return redirect(url_for("login"))interface_model_all = Interface.query.filter_by(model_id=model_id).all()interface_model_forms = []for i in range(len(interface_model_all)):interface_model_form = {"interface_id": interface_model_all[i].interface_id,"interface_name": interface_model_all[i].interface_name,"interface_url": interface_model_all[i].interface_url}interface_model_forms.append(interface_model_form)return render_template("interface.html",model_id=model_id,interface_model_forms=interface_model_forms) # 新增接口 @app.route("/addinterface/<model_id>", methods=["GET", "POST"]) def addinterface(model_id):if not session.get("logged_in"):return redirect(url_for("login"))add_interface = InterfaceForm()submit = SubmitForm()if submit.validate_on_submit():add = Interface(interface_name=add_interface.interface_name.data,model_id=model_id,interface_url=add_interface.interface_url.data,interface_methd=add_interface.interface_method.data,request_exam=add_interface.request_exam.data,reposnese_exam=add_interface.response_exam.data)db.session.add(add)db.session.commit()return redirect(url_for("interface",model_id=model_id))return render_template("addinterface.html",add_interface=add_interface,model_id=model_id,submit=submit) # 編輯接口 @app.route("/editinterface/<model_id>&<interface_id>", methods=["GET", "POST"]) def editinterface(model_id, interface_id):if not session.get("logged_in"):return redirect(url_for("login"))interface_model_one = Interface.query.filter_by(interface_id=interface_id).first()edit_interface_model = InterfaceForm()submit = SubmitForm()if submit.validate_on_submit():interface_model_one.interface_name = edit_interface_model.interface_name.datainterface_model_one.interface_url = edit_interface_model.interface_url.datainterface_model_one.interface_methd = edit_interface_model.interface_method.datainterface_model_one.request_exam = edit_interface_model.request_exam.datainterface_model_one.response_exam = edit_interface_model.response_exam.datadb.session.commit()return redirect(url_for("interface",model_id=model_id))edit_interface_model.interface_name.data = interface_model_one.interface_nameedit_interface_model.interface_url.data = interface_model_one.interface_urledit_interface_model.interface_method.data = interface_model_one.interface_methdedit_interface_model.request_exam.data = interface_model_one.request_examedit_interface_model.response_exam.data = interface_model_one.reposnese_examreturn render_template("editinterface.html",model_id=model_id,interface_id=interface_id,edit_interface_model=edit_interface_model,submit=submit) # 請求參數列表 @app.route("/parameter_request/<model_id>&<interface_id>", methods=["GET", "POST"]) def parameter_request(model_id, interface_id):if not session.get("logged_in"):return redirect(url_for("login"))parameter_request_all = Parameter.query.filter_by(interface_id=interface_id, parameter_type=10).all()parameter_request_forms = []for i in range(len(parameter_request_all)):parameter_request_form = {"parameter_id": parameter_request_all[i].parameter_id,"parameter_name": parameter_request_all[i].parameter_name,"necessary": parameter_request_all[i].necessary,"type": parameter_request_all[i].type,"default": parameter_request_all[i].default,"remark": parameter_request_all[i].remark,"parameter_group_id": parameter_request_all[i].parameter_group_id,"level": parameter_request_all[i].level}parameter_request_forms.append(parameter_request_form)return render_template("parameter_request.html",model_id=model_id,interface_id=interface_id,parameter_request_forms=parameter_request_forms) # 新增請求參數 @app.route("/addparameter_request/<model_id>&<interface_id>", methods=["GET", "POST"]) def addparameter_request(model_id, interface_id):if not session.get("logged_in"):return redirect(url_for("login"))add_parameter_request = ParameterRequestForm()submit = SubmitForm()if submit.validate_on_submit():add = Parameter(interface_id=interface_id,parameter_type=10,parameter_group_id=add_parameter_request.parameter_group_id.data,parameter_name=add_parameter_request.parameter_name.data,necessary=add_parameter_request.necessary.data,type=add_parameter_request.type.data,default=add_parameter_request.default.data,remark=add_parameter_request.remark.data,level=add_parameter_request.level.data)db.session.add(add)db.session.commit()return redirect(url_for("parameter_request",model_id=model_id,interface_id=interface_id))return render_template("addparameter_request.html",add_parameter_request=add_parameter_request,model_id=model_id,interface_id=interface_id,submit=submit) # 編輯請求參數 @app.route("/editparameter_request/<model_id>&<interface_id>&<parameter_id>", methods=["GET", "POST"]) def editparameter_request(model_id, interface_id, parameter_id):if not session.get("logged_in"):return redirect(url_for("login"))parameter_request_one = Parameter.query.filter_by(parameter_id=parameter_id).first()edit_parameter_request = ParameterRequestForm()submit = SubmitForm()if submit.validate_on_submit():parameter_request_one.parameter_name = edit_parameter_request.parameter_name.dataparameter_request_one.necessary = edit_parameter_request.necessary.dataparameter_request_one.type = edit_parameter_request.type.dataparameter_request_one.default = edit_parameter_request.default.dataparameter_request_one.remark = edit_parameter_request.remark.dataparameter_request_one.parameter_group_id = edit_parameter_request.parameter_group_id.dataparameter_request_one.level = edit_parameter_request.level.datadb.session.commit()return redirect(url_for("parameter_request",model_id=model_id,interface_id=interface_id))edit_parameter_request.parameter_name.data = parameter_request_one.parameter_nameedit_parameter_request.necessary.data = parameter_request_one.necessaryedit_parameter_request.type.data = parameter_request_one.typeedit_parameter_request.default.data = parameter_request_one.defaultedit_parameter_request.remark.data = parameter_request_one.remarkedit_parameter_request.parameter_group_id.data = parameter_request_one.parameter_group_idedit_parameter_request.level.data = parameter_request_one.levelreturn render_template("editparameter_request.html",model_id=model_id,interface_id=interface_id,parameter_id=parameter_id,edit_parameter_request=edit_parameter_request,submit=submit) # 刪除請求參數 @app.route("/deleteparameter_request/<model_id>&<interface_id>&<parameter_id>", methods=["GET", "POST"]) def deleteparameter_request(model_id, interface_id, parameter_id):if not session.get("logged_in"):return redirect(url_for("login"))deleteparameter_request_one = Parameter.query.filter_by(parameter_id=parameter_id).first()db.session.delete(deleteparameter_request_one)db.session.commit()parameter_request_all = Parameter.query.filter_by(interface_id=interface_id, parameter_type=10).all()parameter_request_forms = []for i in range(len(parameter_request_all)):parameter_request_form = {"parameter_id": parameter_request_all[i].parameter_id,"parameter_name": parameter_request_all[i].parameter_name,"necessary": parameter_request_all[i].necessary,"type": parameter_request_all[i].type,"default": parameter_request_all[i].default,"remark": parameter_request_all[i].remark,"parameter_group_id": parameter_request_all[i].parameter_group_id,"level": parameter_request_all[i].level}parameter_request_forms.append(parameter_request_form)return render_template("parameter_request.html",model_id=model_id,interface_id=interface_id,parameter_request_forms=parameter_request_forms) # 返回參數列表 @app.route("/parameter_response/<model_id>&<interface_id>", methods=["GET", "POST"]) def parameter_response(model_id, interface_id):if not session.get("logged_in"):return redirect(url_for("login"))parameter_response_all = Parameter.query.filter_by(interface_id=interface_id, parameter_type=20).all()parameter_response_forms = []for i in range(len(parameter_response_all)):parameter_response_form = {"parameter_id": parameter_response_all[i].parameter_id,"parameter_name": parameter_response_all[i].parameter_name,"necessary": parameter_response_all[i].necessary,"type": parameter_response_all[i].type,"default": parameter_response_all[i].default,"remark": parameter_response_all[i].remark,"parameter_group_id": parameter_response_all[i].parameter_group_id,"level": parameter_response_all[i].level}parameter_response_forms.append(parameter_response_form)return render_template("parameter_response.html",model_id=model_id,interface_id=interface_id,parameter_response_forms=parameter_response_forms) # 新增返回參數 @app.route("/addparameter_response/<model_id>&<interface_id>", methods=["GET", "POST"]) def addparameter_response(model_id, interface_id):if not session.get("logged_in"):return redirect(url_for("login"))add_parameter_response = ParameterResponseForm()submit = SubmitForm()if submit.validate_on_submit():add = Parameter(interface_id=interface_id,parameter_type=20,parameter_group_id=add_parameter_response.parameter_group_id.data,parameter_name=add_parameter_response.parameter_name.data,necessary=add_parameter_response.necessary.data,type=add_parameter_response.type.data,default=add_parameter_response.default.data,remark=add_parameter_response.remark.data,level=add_parameter_response.level.data)db.session.add(add)db.session.commit()return redirect(url_for("parameter_response",model_id=model_id,interface_id=interface_id))return render_template("addparameter_response.html",add_parameter_response=add_parameter_response,model_id=model_id,interface_id=interface_id,submit=submit) # 編輯返回參數 @app.route("/editparameter_response/<model_id>&<interface_id>&<parameter_id>", methods=["GET", "POST"]) def editparameter_response(model_id, interface_id, parameter_id):if not session.get("logged_in"):return redirect(url_for("login"))parameter_response_one = Parameter.query.filter_by(parameter_id=parameter_id).first()edit_parameter_response = ParameterResponseForm()submit = SubmitForm()if submit.validate_on_submit():parameter_response_one.parameter_name = edit_parameter_response.parameter_name.dataparameter_response_one.necessary = edit_parameter_response.necessary.dataparameter_response_one.type = edit_parameter_response.type.dataparameter_response_one.default = edit_parameter_response.default.dataparameter_response_one.remark = edit_parameter_response.remark.dataparameter_response_one.parameter_group_id = edit_parameter_response.parameter_group_id.dataparameter_response_one.level = edit_parameter_response.level.datadb.session.commit()return redirect(url_for("parameter_response",model_id=model_id,interface_id=interface_id))edit_parameter_response.parameter_name.data = parameter_response_one.parameter_nameedit_parameter_response.necessary.data = parameter_response_one.necessaryedit_parameter_response.type.data = parameter_response_one.typeedit_parameter_response.default.data = parameter_response_one.defaultedit_parameter_response.remark.data = parameter_response_one.remarkedit_parameter_response.parameter_group_id.data = parameter_response_one.parameter_group_idedit_parameter_response.level.data = parameter_response_one.levelreturn render_template("editparameter_response.html",model_id=model_id,interface_id=interface_id,parameter_id=parameter_id,edit_parameter_response=edit_parameter_response,submit=submit) # 刪除返回參數 @app.route("/deleteparameter_response/<model_id>&<interface_id>&<parameter_id>", methods=["GET", "POST"]) def deleteparameter_response(model_id, interface_id, parameter_id):if not session.get("logged_in"):return redirect(url_for("login"))deleteparameter_response_one = Parameter.query.filter_by(parameter_id=parameter_id).first()db.session.delete(deleteparameter_response_one)db.session.commit()parameter_response_all = Parameter.query.filter_by(interface_id=interface_id, parameter_type=20).all()parameter_response_forms = []for i in range(len(parameter_response_all)):parameter_response_form = {"parameter_id": parameter_response_all[i].parameter_id,"parameter_name": parameter_response_all[i].parameter_name,"necessary": parameter_response_all[i].necessary,"type": parameter_response_all[i].type,"default": parameter_response_all[i].default,"remark": parameter_response_all[i].remark,"parameter_group_id": parameter_response_all[i].parameter_group_id,"level": parameter_response_all[i].level}parameter_response_forms.append(parameter_response_form)return render_template("parameter_response.html",model_id=model_id,interface_id=interface_id,parameter_response_forms=parameter_response_forms) # 用戶管理 @app.route("/users", methods=["GET", "POST"]) def user():if not session.get("logged_in"):return redirect(url_for("login"))user_all = User.query.filter_by(status=1).all()user_forms = []for i in range(len(user_all)):user_form = {"user_id": user_all[i].uer_id,"user_name": user_all[i].user_name,"password": user_all[i].password[:30],"status": user_all[i].status,"level": user_all[i].level,"user_zhuce_date": user_all[i].user_zhuce_date,"user_zhuce_email": user_all[i].user_zhuce_email,"user_iphone": user_all[i].user_iphone,"user_qq": user_all[i].user_qq}user_forms.append(user_form)return render_template("user_admin.html",user_forms=user_forms) #注冊 @app.route('/register',methods=['GET','POST']) def registser():form = ReguistForm()if form.validate_on_submit():user=form.user_name.datame=User.query.filter_by(user_name=user).first()if me:flash('用戶名已經存在!')return render_template('regist.html',form=form)if form.que_password.data != form.password.data:flash(' 確認密碼是否一致!')return render_template('regist.html',form=form)passw=form.password.dataprint(passw)add=User(user_name=form.user_name.data,status=1,user_zhuce_email=form.email.data,user_iphone=form.iphone.data,user_qq=form.qq.data,user_zhuce_date=datetime.datetime.now())add.set_password(password=passw)db.session.add(add)db.session.commit()return redirect(url_for('login'))return render_template("regist.html",form=form) #刪除用戶 @app.route('/delete/<user_name>',methods=['GET','POST']) def delete(user_name):if not session.get("logged_in"):return redirect(url_for("login"))delete_user=User.query.filter_by(user_name=user_name).first()db.session.delete(delete_user)db.session.commit()user_all = User.query.filter_by(status=1).all()user_forms = []for i in range(len(user_all)):user_form = {"user_id": user_all[i].uer_id,"user_name": user_all[i].user_name,"password": user_all[i].password[:30],"status": user_all[i].status,"level": user_all[i].level,"user_zhuce_date": user_all[i].user_zhuce_date,"user_zhuce_email": user_all[i].user_zhuce_email,"user_iphone": user_all[i].user_iphone,"user_qq": user_all[i].user_qq}user_forms.append(user_form)return render_template("user_admin.html",user_forms=user_forms)?
forms 表單代碼如下:
#!/usr/bin/env python # -*- coding: utf-8 -*-from flask_wtf import Form from wtforms import StringField, TextField, PasswordField, FormField, SubmitField, FieldList, IntegerField from wtforms.validators import Required, DataRequiredclass LoginForm(Form):username = StringField("登陸名", validators=[Required()])password = PasswordField("密碼", validators=[Required()])class ModelForm(Form):model_name = StringField("中文名稱", validators=[Required()])class InterfaceForm(Form):interface_name = StringField("接口名稱", validators=[Required()])interface_url = StringField("接口地址", validators=[Required()])interface_method = StringField("接口方法", validators=[Required()])request_exam = TextField("請求示例", validators=[Required()])response_exam = TextField("返回示例", validators=[Required()])class ParameterRequestForm(Form):parameter_group_id = StringField("從屬", validators=[Required()])parameter_name = StringField("參數名稱", validators=[Required()])necessary = StringField("是否必須", validators=[Required()])type = StringField("類型", validators=[Required()])default = StringField("默認值", validators=[Required()])remark = StringField("備注", validators=[Required()])level = StringField("層級", validators=[Required()])class ParameterResponseForm(Form):parameter_group_id = StringField("從屬", validators=[Required()])parameter_name = StringField("參數名稱", validators=[Required()])necessary = StringField("是否必須", validators=[Required()])type = StringField("類型", validators=[Required()])default = StringField("示例", validators=[Required()])remark = StringField("描述", validators=[Required()])level = StringField("層級", validators=[Required()])class SubmitForm(Form):submit = SubmitField("保存")class ReguistForm(Form):#注冊user_name=StringField('用戶名',validators=[Required()])password=PasswordField('密碼',validators=[Required()])que_password=PasswordField('密碼',validators=[Required()])iphone=IntegerField('手機號',validators=[Required()])qq=IntegerField('qq號',validators=[Required()])email=StringField('郵箱',validators=[Required()])?
效果如下圖:
?
?
?
?
?
?原文地址:https://www.cnblogs.com/leiziv5/p/6830256.html
git地址https://github.com/liwanlei/plmock
百度網盤地址https://pan.baidu.com/disk/home#/all?vmode=list&path=%2Fpython%2Bflask%E5%BC%80%E5%8F%91%E6%8E%A5%E5%8F%A3%E6%B5%8B%E8%AF%95%E5%B9%B3%E5%8F%B0
?
轉載于:https://www.cnblogs.com/111testing/p/10810317.html
總結
以上是生活随笔為你收集整理的flask 开发接口测试平台的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 中山骏驰的风扇灯遥控器如何对码?
- 下一篇: 虎门汽车客运总站售票查询