Browse Source

人员编辑状态码

liuyang 5 years ago
parent
commit
1381e2f7bd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backend/src/dashoo.cn/modi_webapi/app/api/personnel/personnel.go

+ 1 - 1
backend/src/dashoo.cn/modi_webapi/app/api/personnel/personnel.go

@@ -153,7 +153,7 @@ func (c *Controller) UpdatePersonnel(r *ghttp.Request) {
 	if code {
 		response.Json(r, 0, msg)
 	} else {
-		response.Json(r, -1, msg)
+		response.Json(r, 1, msg)
 	}
 }