|
@@ -36,7 +36,7 @@ class Test(View):
|
|
|
# 查询
|
|
|
def get(self, request, *args, **kwargs):
|
|
|
client_id = '123'
|
|
|
- return ResponseJSON(0,'4324234234')
|
|
|
+ return ResponseJSON(0,'6666')
|
|
|
|
|
|
redirect_uri = 'http://www.baidu.com/'
|
|
|
uri = 'http://localhost:5000/oauth?response_type=code&client_id=%s&redirect_uri=%s' % (client_id, redirect_uri)
|