32 lines
685 B
Go
32 lines
685 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 UpdateStatusLogic struct {
|
|
ctx context.Context
|
|
svcCtx *svc.ServiceContext
|
|
logx.Logger
|
|
}
|
|
|
|
func NewUpdateStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateStatusLogic {
|
|
return &UpdateStatusLogic{
|
|
ctx: ctx,
|
|
svcCtx: svcCtx,
|
|
Logger: logx.WithContext(ctx),
|
|
}
|
|
}
|
|
|
|
// UpdateStatus 修改狀態
|
|
func (l *UpdateStatusLogic) UpdateStatus(in *member.UpdateStatusReq) (*member.OKResp, error) {
|
|
// todo: add your logic here and delete this line
|
|
|
|
return &member.OKResp{}, nil
|
|
}
|