@Tags System Setting @Summary Load system setting info @Success 200 {object} dto.SettingInfo @Security ApiKeyAuth @Security Timestamp @Router /core/settings/search [post]
(c *gin.Context)
| 27 | // @Security Timestamp |
| 28 | // @Router /core/settings/search [post] |
| 29 | func (b *BaseApi) GetSettingInfo(c *gin.Context) { |
| 30 | setting, err := settingService.GetSettingInfo() |
| 31 | if err != nil { |
| 32 | helper.InternalServer(c, err) |
| 33 | return |
| 34 | } |
| 35 | helper.SuccessWithData(c, setting) |
| 36 | } |
| 37 | |
| 38 | // @Tags System Setting |
| 39 | // @Summary Load base system setting info |
nothing calls this directly
no test coverage detected