Files
juwan-backend/app/users/api/internal/logic/user/updateNotificationSettingsLogic.go
2026-03-31 22:12:06 +08:00

34 lines
807 B
Go

// Code scaffolded by goctl. Safe to edit.
// goctl 1.9.2
package user
import (
"context"
"juwan-backend/app/users/api/internal/svc"
"juwan-backend/app/users/api/internal/types"
"github.com/zeromicro/go-zero/core/logx"
)
type UpdateNotificationSettingsLogic struct {
logx.Logger
ctx context.Context
svcCtx *svc.ServiceContext
}
// 更新通知偏好
func NewUpdateNotificationSettingsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateNotificationSettingsLogic {
return &UpdateNotificationSettingsLogic{
Logger: logx.WithContext(ctx),
ctx: ctx,
svcCtx: svcCtx,
}
}
func (l *UpdateNotificationSettingsLogic) UpdateNotificationSettings(req *types.UpdateNotifySettingsReq) (resp *types.EmptyResp, err error) {
// todo: add your logic here and delete this line
return
}