|
/*推送模板API接口
|
templateid// 自增ID templatename// 模板名称 templatecode// 对应平台模板代码/ID 短信模板微信模板 templateplatform// 对应平台ID 公众号短信标签 templatecontent// 内容/图片URL orgid//医院机构id del_flag// 删除标记 update_by// 更新人 update_time// 更新时间 create_by// 创建人 create_time// 创建时间 isupload// 上传标记 upload_time// 上传时间 templatetype// 模板类别 templatesource// 模板来源 isenable// 是否开启 templateplatformname// 对应平台名称 pid//父ID guid//GUID
|
*/
|
import request from '@/utils/request'
|
|
export function slavelistbase_pushtemplate(query) {
|
return request({
|
url: 'proc/smartor/entity/base/base_pushtemplate/slavelist',
|
method: 'get',
|
params: query
|
})
|
}
|
|
/*
|
功能: 读取列表信息
|
参数:query 指定查询参数
|
*/
|
export function listbase_pushtemplate(query) {
|
return request({
|
url: 'proc/smartor/entity/base/base_pushtemplate/list',
|
method: 'get',
|
params: query
|
})
|
}
|
|
/*
|
功能: 根据id读取指定对象信息
|
参数:query 指定查询参数
|
*/
|
export function getbase_pushtemplate(templateid) {
|
return request({
|
url: 'proc/smartor/entity/base/base_pushtemplate/' + templateid,
|
method: 'get'
|
})
|
}
|
|
/*
|
功能: 增加对象
|
参数:data 对象数据
|
*/
|
export function addbase_pushtemplate(data) {
|
return request({
|
url: 'proc/smartor/entity/base/base_pushtemplate/add',
|
method: 'post',
|
data: data
|
})
|
}
|
|
/*
|
功能: 更新对象
|
参数:data 对象数据
|
*/
|
export function updatebase_pushtemplate(data) {
|
return request({
|
url: 'proc/smartor/entity/base/base_pushtemplate/update',
|
method: 'put',
|
data: data
|
})
|
}
|
|
/*
|
功能: 删除对象
|
参数:objid 对象ID
|
*/
|
export function delbase_pushtemplate(templateid) {
|
return request({
|
url: 'proc/smartor/entity/base/base_pushtemplate/del/' +templateid,
|
method: 'delete'
|
})
|
}
|