healthapp
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
578 B

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
}