@Tags System Setting @Summary Load system setting info @Success 200 {object} dto.SettingInfo @Security ApiKeyAuth @Security Timestamp @Router /settings/search [post]
(c *gin.Context)
| 16 | // @Security Timestamp |
| 17 | // @Router /settings/search [post] |
| 18 | func (b *BaseApi) GetSettingInfo(c *gin.Context) { |
| 19 | setting, err := settingService.GetSettingInfo() |
| 20 | if err != nil { |
| 21 | helper.InternalServer(c, err) |
| 22 | return |
| 23 | } |
| 24 | helper.SuccessWithData(c, setting) |
| 25 | } |
| 26 | |
| 27 | // @Tags System Setting |
| 28 | // @Summary Get terminal AI setting info |
nothing calls this directly
no test coverage detected