refactor: add system config key 'user_init_calls' to init the new register user's api calls

This commit is contained in:
RockYang
2023-06-15 10:06:21 +08:00
parent 567cdc6f8d
commit 197714a57a
5 changed files with 23 additions and 9 deletions

View File

@@ -52,6 +52,7 @@ func (h *ConfigHandler) Update(c *gin.Context) {
resp.SUCCESS(c, config)
}
// Get 获取指定的系统配置
func (h *ConfigHandler) Get(c *gin.Context) {
key := c.Query("key")
var config model.Config