代码拉取完成,页面将自动刷新
package enums
type TencentSmsInternational uint64
type TencentSmsStatusCode int
const (
TencentSmsInternationalChina TencentSmsInternational = 0
TencentSmsInternationalHMTC TencentSmsInternational = 1
TencentSmsInternationalAll TencentSmsInternational = 3
TencentSmsStatusCodeAF TencentSmsStatusCode = -1
TencentSmsStatusCodeAE TencentSmsStatusCode = 0
TencentSmsStatusCodeAR TencentSmsStatusCode = 1
TencentSmsStatusCodeTE TencentSmsStatusCode = 2
)
// Fmt 腾讯短信类型
func (i TencentSmsInternational) Fmt() string {
switch i {
case TencentSmsInternationalChina:
return `国内短信`
case TencentSmsInternationalHMTC:
return `国际/港澳台短信`
case TencentSmsInternationalAll:
return `国内短信也支持国际/港澳台短信`
default:
return ``
}
}
// Fmt 腾讯短信模板状态
func (c TencentSmsStatusCode) Fmt() string {
switch c {
case TencentSmsStatusCodeAF:
return `审核未通过`
case TencentSmsStatusCodeAE:
return `审核通过已生效`
case TencentSmsStatusCodeAR:
return `审核中`
case TencentSmsStatusCodeTE:
return `审核通过生效中`
default:
return ``
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。