1234567891011121314151617181920212223242526272829 |
- package whatsapp
- import (
- "context"
- "github.com/zeromicro/go-zero/core/logx"
- "wechat-api/internal/svc"
- "wechat-api/internal/types"
- )
- type UpdateWhatsappLogic struct {
- ctx context.Context
- svcCtx *svc.ServiceContext
- logx.Logger
- }
- func NewUpdateWhatsappLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateWhatsappLogic {
- return &UpdateWhatsappLogic{
- ctx: ctx,
- svcCtx: svcCtx,
- Logger: logx.WithContext(ctx),
- }
- }
- func (l *UpdateWhatsappLogic) UpdateWhatsapp(req *types.WhatsappPhoneInfo) (*types.BaseMsgResp, error) {
- resp := types.BaseMsgResp{}
- return &resp, nil
- }
|