32 lines
669 B
Go
32 lines
669 B
Go
package user
|
|
|
|
import (
|
|
"context"
|
|
|
|
"mingyang-admin-app-rpc/internal/svc"
|
|
"mingyang-admin-app-rpc/types/app"
|
|
|
|
"github.com/zeromicro/go-zero/core/logx"
|
|
)
|
|
|
|
type UpdateUserPcInfoLogic struct {
|
|
ctx context.Context
|
|
svcCtx *svc.ServiceContext
|
|
logx.Logger
|
|
}
|
|
|
|
func NewUpdateUserPcInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateUserPcInfoLogic {
|
|
return &UpdateUserPcInfoLogic{
|
|
ctx: ctx,
|
|
svcCtx: svcCtx,
|
|
Logger: logx.WithContext(ctx),
|
|
}
|
|
}
|
|
|
|
// C端用户修改信息
|
|
func (l *UpdateUserPcInfoLogic) UpdateUserPcInfo(in *app.UserInfo) (*app.BaseResp, error) {
|
|
// todo: add your logic here and delete this line
|
|
|
|
return &app.BaseResp{}, nil
|
|
}
|