2024-08-20 06:35:14 +00:00
|
|
|
package senderservicelogic
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
|
|
|
"app-cloudep-notification-service/gen_result/pb/notification"
|
|
|
|
"app-cloudep-notification-service/internal/svc"
|
|
|
|
|
|
|
|
"github.com/zeromicro/go-zero/core/logx"
|
|
|
|
)
|
|
|
|
|
|
|
|
type SendSmsByTemplateIdLogic struct {
|
|
|
|
ctx context.Context
|
|
|
|
svcCtx *svc.ServiceContext
|
|
|
|
logx.Logger
|
|
|
|
}
|
|
|
|
|
|
|
|
func NewSendSmsByTemplateIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SendSmsByTemplateIdLogic {
|
|
|
|
return &SendSmsByTemplateIdLogic{
|
|
|
|
ctx: ctx,
|
|
|
|
svcCtx: svcCtx,
|
|
|
|
Logger: logx.WithContext(ctx),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-08-27 14:25:45 +00:00
|
|
|
// SendSmsByTemplateId 寄送模板簡訊
|
2024-08-20 06:35:14 +00:00
|
|
|
func (l *SendSmsByTemplateIdLogic) SendSmsByTemplateId(in *notification.SendByTemplateIDReq) (*notification.OKResp, error) {
|
|
|
|
// todo: add your logic here and delete this line
|
|
|
|
|
|
|
|
return ¬ification.OKResp{}, nil
|
|
|
|
}
|