摘要: ValueError: urls must start with a leading slash 这个错误是因为 server.route('/api/get_bill')括号中的内容,缺少‘/’ 阅读全文
posted @ 2019-11-09 13:49 一只竹子 阅读(1314) 评论(0) 推荐(0) 编辑
摘要: import flaskimport jsonimport tools#mock接口开发 挡板#1、模拟第三方接口#2、 给别人提供数据#3、flask是一个web开发框架server = flask.Flask(__name__)@server.route('/api/login',methods 阅读全文
posted @ 2019-11-09 11:06 一只竹子 阅读(1596) 评论(0) 推荐(0) 编辑