package logic import ( "context" "healthapi/internal/svc" "healthapi/internal/types" "github.com/zeromicro/go-zero/core/logx" ) type UpdateAddressLogic struct { logx.Logger ctx context.Context svcCtx *svc.ServiceContext } func NewUpdateAddressLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateAddressLogic { return &UpdateAddressLogic{ Logger: logx.WithContext(ctx), ctx: ctx, svcCtx: svcCtx, } } func (l *UpdateAddressLogic) UpdateAddress(req *types.AddressIdReq) error { // todo: add your logic here and delete this line return nil }