2 Star 5 Fork 7

联犀/中台模块

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
service
apisvr
datasvr
syssvr
client
domain
etc
internal
config
logic
accessmanage
appmanage
areamanage
common
datamanage
dictmanage
log
modulemanage
notifymanage
messageInfoDeleteLogic.go
messageInfoIndexLogic.go
messageInfoSendLogic.go
messageInfoUpdateLogic.go
notifyChannelCreateLogic.go
notifyChannelDeleteLogic.go
notifyChannelIndexLogic.go
notifyChannelReadLogic.go
notifyChannelUpdateLogic.go
notifyConfigCreateLogic.go
notifyConfigDeleteLogic.go
notifyConfigIndexLogic.go
notifyConfigReadLogic.go
notifyConfigSendLogic.go
notifyConfigTemplateDeleteLogic.go
notifyConfigTemplateIndexLogic.go
notifyConfigTemplateUpdateLogic.go
notifyConfigUpdateLogic.go
notifyTemplateCreateLogic.go
notifyTemplateDeleteLogic.go
notifyTemplateIndexLogic.go
notifyTemplateReadLogic.go
notifyTemplateUpdateLogic.go
sendMsg.go
ops
projectmanage
rolemanage
tenantmanage
usermanage
assemble.go
assembleModule.go
assembleTenant.go
auth.go
menu.go
repo
server
startup
svc
pb/sys
proto
sysExport
sysdirect
sys.go
syssvr.exe
系统管理模块-syssvr.md
timed
viewsvr
README.md
shell
tools
.gitignore
.gitmodules
Dockerfile
LICENSE
Makefile
README.md
go.mod
go.sum
克隆/下载
notifyTemplateDeleteLogic.go 795 Bytes
一键复制 编辑 原始数据 按行查看 历史
杨磊 提交于 4个月前 . feat: 更新mod
package notifymanagelogic
import (
"context"
"gitee.com/unitedrhino/core/service/syssvr/internal/repo/relationDB"
"gitee.com/unitedrhino/core/service/syssvr/internal/svc"
"gitee.com/unitedrhino/core/service/syssvr/pb/sys"
"github.com/zeromicro/go-zero/core/logx"
)
type NotifyTemplateDeleteLogic struct {
ctx context.Context
svcCtx *svc.ServiceContext
logx.Logger
}
func NewNotifyTemplateDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NotifyTemplateDeleteLogic {
return &NotifyTemplateDeleteLogic{
ctx: ctx,
svcCtx: svcCtx,
Logger: logx.WithContext(ctx),
}
}
func (l *NotifyTemplateDeleteLogic) NotifyTemplateDelete(in *sys.WithID) (*sys.Empty, error) {
err := relationDB.NewNotifyTemplateRepo(l.ctx).Delete(l.ctx, in.Id)
return &sys.Empty{}, err
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/unitedrhino/core.git
git@gitee.com:unitedrhino/core.git
unitedrhino
core
中台模块
v0.2.4

搜索帮助