This commit is contained in:
aozhiwei 2020-10-30 19:14:58 +08:00
parent 3a0eae01dc
commit 7ee3df2b24
3 changed files with 4 additions and 4 deletions

View File

@ -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())

2
third_party/f5 vendored

@ -1 +1 @@
Subproject commit 3a39acfd9b6490263f5c1dfbebb43298341273df
Subproject commit ce7a0fd64c609c9205c0532c31743a7f99906653

2
third_party/q5 vendored

@ -1 +1 @@
Subproject commit 877ac12ec2c924d081a4fdc5adb99dcecf8fe180
Subproject commit 80edf5bfe52f6e19594d4390a5ab83af8bc0302a