|
@@ -217,8 +217,8 @@ class ApplicationView(View):
|
|
|
ApplicationModel.objects.create(add_time=nowTime, update_time=nowTime, client_id=client_id, name=name, client_secret=client_secret,
|
|
|
client_type=client_type,redirect_uri=redirect_uri,skip_auth=skip_auth,grant_type=grant_type)
|
|
|
return response.json(0)
|
|
|
- except Exception:
|
|
|
- return response.json(178)
|
|
|
+ except Exception as e:
|
|
|
+ return response.json(178,repr(e))
|
|
|
|
|
|
def query(self, request_dict, userID, response):
|
|
|
own_perm = ModelService.check_perm(userID, 20)
|