智简魔方文档
财务系统开发文档财务系统 API 文档短信模块及模板配置

模板首页

接口地址:/admin/config_message/template_list GET

模板首页 -- wyh

接口说明:模板首页,搜索功能(按ID搜索,按关键字搜索);按短信运营商:aliyun或者submail分成双页

接口参数

参数名字类型是否必须默认值其他说明
sms_operator字符串非必填1-短信运营商:aliyun(默认)或者submail
page整型必填1-第几页
limit整型必填1-每页多少条
order字符串必填1-排序字段('id','template_id','type','title','content','status')
order_method字符串必填1-排序方式:asc
template_id字符串非必填1-模板ID(短信运营商提供)搜索
title字符串非必填1-模板标题(搜索)

返回结果

{
  "status":200/201/203/204/400/401/406,
  "msg":提示信息,
  "data":{
    "smsoperator":[{//运营商
    }]
    "templates":[{//模板信息
      "id":"ID",
      "template_id":"模板ID(短信运营商提供)",
      "type":"0大陆,1非大陆",
      "title":"模板标题",
      "content":"模板内容",
      "remark":"备注",
      "status":"0未提交审核,1正在审核,2审核通过,3未通过审核",
    }]
  }
}

提示:此文档是由系统自动生成,如发现错误或疑问请告知开发人员及时修改