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
 

原创文章,作者:745907710,如若转载,请注明出处:https://blog.ytso.com/tech/python/272257.html

(0)
上一篇 2022年7月9日 03:34
下一篇 2022年7月9日 03:34

相关推荐

发表回复

登录后才能评论