package appservice import ( "bbs-backend/api/request" "bbs-backend/common/errcode" "bbs-backend/logic/domainservice" ) func GetBBSInfo() (map[string]string, error) { forumInfo, err := domainservice.GetBBSInfoDomainService() if err != nil { return nil, errcode.ErrInternalServerError } return forumInfo, nil } func UpdateBBSInfo(req request.UpdateBBSInfoRequest) error { err := domainservice.UpdateBBSInfoDomainService(req) if err != nil { return errcode.ErrInternalServerError } return nil }