Browse Source

添加日志

WH01243 1 week ago
parent
commit
f359ee4a59
1 changed files with 1 additions and 0 deletions
  1. 1 0
      clueSync/manualOperation.go

+ 1 - 0
clueSync/manualOperation.go

@@ -362,6 +362,7 @@ func getClueState(c *gin.Context) {
 	var req FetchDeptAdminRequest
 	response := FetchDeptAdminResponse{}
 	if err := c.ShouldBindJSON(&req); err != nil {
+		log.Println(err)
 		c.JSON(http.StatusBadRequest, gin.H{"error": "无效的请求参数"})
 		return
 	}