jumeng

package
v1.8.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReturnSMS

type ReturnSMS struct {
	Result xml.Name `xml:"returnsms"`
	Code   string   `xml:"result"`
	Desc   string   `xml:"desc"`
	TaskId string   `xml:"taskid"`
}

type Sdk

type Sdk struct {
	Config *model.SMSConfig `json:"sms_config,omitempty"`
}

func (*Sdk) GetSendStatus

func (app *Sdk) GetSendStatus(taskId string, phone string) (string, error)

获取发送状态

func (*Sdk) SendSms

func (app *Sdk) SendSms(phone, content string) (string, error)

发送短信

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL