31 lines
745 B
Go
31 lines
745 B
Go
|
package logic
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"gitea.youtukeji.com.cn/xiabin/youtu_grpc/user_management/internal/svc"
|
||
|
"gitea.youtukeji.com.cn/xiabin/youtu_grpc/user_management/user_management"
|
||
|
|
||
|
"github.com/zeromicro/go-zero/core/logx"
|
||
|
)
|
||
|
|
||
|
type SetAppAccountLogic struct {
|
||
|
ctx context.Context
|
||
|
svcCtx *svc.ServiceContext
|
||
|
logx.Logger
|
||
|
}
|
||
|
|
||
|
func NewSetAppAccountLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SetAppAccountLogic {
|
||
|
return &SetAppAccountLogic{
|
||
|
ctx: ctx,
|
||
|
svcCtx: svcCtx,
|
||
|
Logger: logx.WithContext(ctx),
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (l *SetAppAccountLogic) SetAppAccount(in *user_management.SetAppUserRequest) (*user_management.Response, error) {
|
||
|
// todo: add your logic here and delete this line
|
||
|
|
||
|
return &user_management.Response{}, nil
|
||
|
}
|