32 lines
705 B
Go
32 lines
705 B
Go
package accountlogic
|
|
|
|
import (
|
|
"context"
|
|
|
|
"app-cloudep-member-server/gen_result/pb/member"
|
|
"app-cloudep-member-server/internal/svc"
|
|
|
|
"github.com/zeromicro/go-zero/core/logx"
|
|
)
|
|
|
|
type UpdateUserTokenLogic struct {
|
|
ctx context.Context
|
|
svcCtx *svc.ServiceContext
|
|
logx.Logger
|
|
}
|
|
|
|
func NewUpdateUserTokenLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateUserTokenLogic {
|
|
return &UpdateUserTokenLogic{
|
|
ctx: ctx,
|
|
svcCtx: svcCtx,
|
|
Logger: logx.WithContext(ctx),
|
|
}
|
|
}
|
|
|
|
// UpdateUserToken 更新密碼
|
|
func (l *UpdateUserTokenLogic) UpdateUserToken(in *member.UpdateTokenReq) (*member.OKResp, error) {
|
|
// todo: add your logic here and delete this line
|
|
|
|
return &member.OKResp{}, nil
|
|
}
|