Skip to content

Commit

Permalink
auto codegen for ISMS
Browse files Browse the repository at this point in the history
  • Loading branch information
ucloud-bot authored Sep 6, 2021
1 parent ae5d478 commit a3da65f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions services/isms/apis.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ type CreateISMSTemplateRequest struct {
// 视频短信标题
MsgTitle *string `required:"true"`

// 需要报备的运营商。json数组的字符串格式。true-需要报备,false-不需要报备。如:{"telecom":true, "mobile":false, "unicom":true }
NetworkOperator *string `required:"false"`
// 【该字段已废弃,请谨慎使用】
NetworkOperator *string `required:"false" deprecated:"true"`

// 模板用途类型:1-验证码类短信模板;2-系统通知类短信模板;3-会员推广类短信模板;
Purpose *int `required:"false"`
// 【该字段已废弃,请谨慎使用】
Purpose *int `required:"false" deprecated:"true"`

// 备注
Remark *string `required:"true"`
Expand Down
2 changes: 1 addition & 1 deletion services/isms/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ type OutTemplate struct {
// 备注信息
Remark string

// 状态描述。json格式,给出运营商维度的审核状态信息,示例:{"telecom_status":2,"telecom_desc":"审核通过","unicom_status":2,"unicom_desc":"审核通过","mobile_status":2,"mobile_desc":"审核通过"}
// 状态描述。json格式,给出运营商维度的审核状态信息,示例:{"telecom_status":2,"telecom_desc":"审核通过","unicom_status":2,"unicom_desc":"审核通过","mobile_status":2,"mobile_desc":"审核通过"}。状态枚举值:0-创建模板时未向该运营商报备 1->审核中 2->审核通过 3->审核未通过 4->禁用 7->过期 11->待审核
StatusDesc string

// 模板ID
Expand Down

0 comments on commit a3da65f

Please sign in to comment.