package logic import ( "context" "admin/admin" "admin/internal/svc" "github.com/zeromicro/go-zero/core/logx" ) type PasswordLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewPasswordLogic(ctx context.Context, svcCtx *svc.ServiceContext) *PasswordLogic { return &PasswordLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } func (l *PasswordLogic) Password(in *admin.PasswordRequest) (*admin.Response, error) { // todo: add your logic here and delete this line return &admin.Response{}, nil }