python bottle小记
作者:互联网
# coding=utf-8
import bottle
@bottle.route('/url/url', method=['GET','POST'])
def big_data():
# 获取请求参数
trans_user_type = bottle.request.GET.get('trans_user_type')
return
#正则url:匹配任意值
@bottle.route('/url/url/:##', method='GET')
def big_data():
url = bottle.request.url
return
标签:return,GET,python,url,bottle,type,method,小记 来源: https://www.cnblogs.com/FengZiQ/p/16425779.html