package collect import ( "context" "xgit.pub/module/cms/app/service" "xgit.pub/module/cms/app/api/collect/v1" ) func (c *ControllerV1) Update(ctx context.Context, req *v1.UpdateReq) (res *v1.UpdateRes, err error) { res, err = service.Collect().Update(ctx, req) return }