controllers

package
v0.0.0-...-e9659fa Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TAG_GROUPS_TYPE      = 1
	ACTIVITY_GROUPS_TYPE = 2
	CUSTOM_GROUPS_TYPE   = 3

	// 错误码
	SMS_MASS_SEND_BLACKWORDS = 12030 // 屏蔽词过滤

	ACTIVITY_TYPE_QUESTIONNAIRE = 4

	STAR_TAG_WHITE  = 1 // 非星标记
	STAR_TAG_YELLOW = 2 // 星标记
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ChuanglanSmsController

type ChuanglanSmsController struct {
	beego.Controller
}

func (*ChuanglanSmsController) QueryBalance

func (t *ChuanglanSmsController) QueryBalance()

额度查询接口 @router /querybalance [GET]

func (*ChuanglanSmsController) ReceivedNotification

func (t *ChuanglanSmsController) ReceivedNotification()

创蓝短信发送状态回调响应地址 @router /callback [GET]

func (*ChuanglanSmsController) SendMarketingSms

func (t *ChuanglanSmsController) SendMarketingSms(companyId int, templateId int, content string, mobiles []string, args ...interface{}) (countPerSingle, smsSendCount int, msgid string, retcode int, err error)

营销类短信,主动推送给用户,用户被动接受且可以退订

>>	本接口支持营销类短信两类:
	1. 采用模板和参数,形成短信内容
	2. 直接发送自定义内容,无模板

func (*ChuanglanSmsController) SendVerificationSms

func (t *ChuanglanSmsController) SendVerificationSms(code string, mobiles []string) (countPerSingle, smsSendCount int, msgid string, content string, templateId int, retcode int, err error)

type RechargingInfo

type RechargingInfo struct {
	PayType int16 `json:"pay_type"` // 10: 微信公众号支付 Native, 11:微信公众号支付 JSAPI
	Money   int   `json:"money"`    // 充值金额,单位:分
}

type SmsController

type SmsController struct {
	beego.Controller
}

func (*SmsController) MobileVerificationCode

func (t *SmsController) MobileVerificationCode()

生成验证码,并把验证码保存到redis,且发送短信验证码 @router /mobile_verification_code [post]

func (*SmsController) SendMarketingSms

func (t *SmsController) SendMarketingSms()

营销类短信,主动推送给用户,用户被动接受且可以退订 @router /marketing [POST]

type SmsReceiptFailedRecordsController

type SmsReceiptFailedRecordsController struct {
	beego.Controller
}

SmsReceiptFailedRecordsController operations for SmsReceiptFailedRecords

type SmsRechargeRecordsController

type SmsRechargeRecordsController struct {
	beego.Controller
}

SmsRechargeRecordsController operations for SmsRechargeRecords

func (*SmsRechargeRecordsController) SmsRecharge

func (t *SmsRechargeRecordsController) SmsRecharge()

SaaS平台下账户短信充值 @router /recharging [POST]

type SmsSendRecordsController

type SmsSendRecordsController struct {
	beego.Controller
}

SmsSendRecordsController operations for SmsSendRecords

type SmsServiceProvidersController

type SmsServiceProvidersController struct {
	beego.Controller
}

SmsServiceProvidersController operations for SmsServiceProviders

type SmsTemplatesController

type SmsTemplatesController struct {
	beego.Controller
}

SmsTemplatesController operations for SmsTemplates

type YunpianSmsController

type YunpianSmsController struct {
	beego.Controller
}

func (*YunpianSmsController) ReceivedNotification

func (t *YunpianSmsController) ReceivedNotification()

推送状态报告 @router /yunpian/callback [POST]

Jump to

Keyboard shortcuts

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