Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,网址:
http://localhost:8080/company?a=1
以及如何知道 URL 是否包含参数 a 。
以下是您的访问方式a:
a
@route('/company') def company(): if bottle.request.params.get('a') is not None: # param "a" was present in the URI's query string