From 7ee3df2b24951cb5eddbf84f791fac31e2dcae03 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 30 Oct 2020 19:14:58 +0800 Subject: [PATCH] 1 --- server/analyseapi/riskmgr.go | 4 ++-- third_party/f5 | 2 +- third_party/q5 | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server/analyseapi/riskmgr.go b/server/analyseapi/riskmgr.go index 84f1c74..09c2abd 100644 --- a/server/analyseapi/riskmgr.go +++ b/server/analyseapi/riskmgr.go @@ -320,7 +320,7 @@ func (this *RiskMgr) __opsDump(w* http.ResponseWriter, r *http.Request) { respObj := q5.NewMxoObject() respObj.SetXValue("errcode", q5.NewXInt32(0)) - respObj.SetXValue("errcode", q5.NewXString("")) + respObj.SetXValue("errmsg", q5.NewXString("")) fillRespObj(respObj, "ip_white_list", &this.ipWhiteList) fillRespObj(respObj, "ip_black_list", &this.ipBlackList) fillRespObj(respObj, "launch_white_list", &this.launchWhiteList) @@ -337,7 +337,7 @@ func (this *RiskMgr) __opsSyncConf(w* http.ResponseWriter, r *http.Request) { func (this *RiskMgr) __opsInfo(w* http.ResponseWriter, r *http.Request) { respObj := q5.NewMxoObject() respObj.SetXValue("errcode", q5.NewXInt32(0)) - respObj.SetXValue("errcode", q5.NewXString("")) + respObj.SetXValue("errmsg", q5.NewXString("")) respObj.SetXObject("pass", this.GetPassObj()) respObj.SetXObject("block", this.GetBlockObj()) q5.Response(w, respObj.ToJsonStr()) diff --git a/third_party/f5 b/third_party/f5 index 3a39acf..ce7a0fd 160000 --- a/third_party/f5 +++ b/third_party/f5 @@ -1 +1 @@ -Subproject commit 3a39acfd9b6490263f5c1dfbebb43298341273df +Subproject commit ce7a0fd64c609c9205c0532c31743a7f99906653 diff --git a/third_party/q5 b/third_party/q5 index 877ac12..80edf5b 160000 --- a/third_party/q5 +++ b/third_party/q5 @@ -1 +1 @@ -Subproject commit 877ac12ec2c924d081a4fdc5adb99dcecf8fe180 +Subproject commit 80edf5bfe52f6e19594d4390a5ab83af8bc0302a