package photo import ( "context" "photography-backend/internal/svc" "photography-backend/internal/types" "github.com/zeromicro/go-zero/core/logx" ) type UpdatePhotoLogic struct { logx.Logger ctx context.Context svcCtx *svc.ServiceContext } // 更新照片 func NewUpdatePhotoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdatePhotoLogic { return &UpdatePhotoLogic{ Logger: logx.WithContext(ctx), ctx: ctx, svcCtx: svcCtx, } } func (l *UpdatePhotoLogic) UpdatePhoto(req *types.UpdatePhotoRequest) (resp *types.UpdatePhotoResponse, err error) { // todo: add your logic here and delete this line return }