package aiSearch import ( "context" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/util/gconv" "aiChat/api/aiSearch/v1" ) func (c *ControllerV1) ProblemConfiguration(ctx context.Context, req *v1.ProblemConfigurationReq) (res *v1.ProblemConfigurationRes, err error) { return &v1.ProblemConfigurationRes{ Data: gconv.Maps(g.Cfg("./manifest/config/ai_search.yaml").MustGet(ctx, "initConifg")), }, nil }