Merge "Fix the respose name of records"
This commit is contained in:
commit
cb75ca6ee9
@ -1,7 +1,7 @@
|
||||
{
|
||||
"code": 0,
|
||||
"msg": "OK",
|
||||
"rules": [
|
||||
"records": [
|
||||
{
|
||||
"id": "00b32723a3c240afab037593c8b11692",
|
||||
"title": "\u6d4b\u8bd5\u89c4\u5219",
|
||||
|
@ -153,7 +153,7 @@ class AnomalyDetectController(wsgi.Controller):
|
||||
record["create_time"] = r.create_time
|
||||
records.append(record)
|
||||
|
||||
return {"code": 0, "msg": "OK", "rules": records}
|
||||
return {"code": 0, "msg": "OK", "records": records}
|
||||
|
||||
@wsgi.wrap_check_policy
|
||||
def delete_record(self, req, id):
|
||||
|
Loading…
x
Reference in New Issue
Block a user