mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-24 17:36:47 +08:00
Go: refactor to avoid conflicts (#17191)
### Summary 1. merge registery test into ingestion 2. move license code to EE version Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@@ -1992,5 +1992,36 @@ func (h *Handler) ListLogs(c *gin.Context) {
|
||||
}
|
||||
|
||||
common.SuccessWithData(c, stats, "success")
|
||||
|
||||
}
|
||||
|
||||
// GetFingerprint handle get system fingerprint
|
||||
func (h *Handler) GetFingerprint(c *gin.Context) {
|
||||
common.ResponseWithHttpCodeData(c, http.StatusNotImplemented, common.CodeBadRequest, nil, "method not implemented")
|
||||
return
|
||||
}
|
||||
|
||||
type SetLicenseHTTPRequest struct {
|
||||
License string `json:"license" binding:"required"`
|
||||
}
|
||||
|
||||
// SetLicense to set system license
|
||||
func (h *Handler) SetLicense(c *gin.Context) {
|
||||
common.ResponseWithHttpCodeData(c, http.StatusNotImplemented, common.CodeBadRequest, nil, "method not implemented")
|
||||
return
|
||||
}
|
||||
|
||||
type SetLicenseConfigHTTPRequest struct {
|
||||
TimeRecordSaveInterval int64 `json:"value1" binding:"required"`
|
||||
TimeRecordTaskDuration int64 `json:"value2" binding:"required"`
|
||||
}
|
||||
|
||||
func (h *Handler) UpdateLicenseConfig(c *gin.Context) {
|
||||
common.ResponseWithHttpCodeData(c, http.StatusNotImplemented, common.CodeBadRequest, nil, "method not implemented")
|
||||
return
|
||||
}
|
||||
|
||||
// ShowLicense to get system license
|
||||
func (h *Handler) ShowLicense(c *gin.Context) {
|
||||
common.ResponseWithHttpCodeData(c, http.StatusNotImplemented, common.CodeBadRequest, nil, "method not implemented")
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user