MeiRiYiCheng_2_new/admin/src/api/modular/main/YB_OfficlaAccountManage.js

405 lines
6.7 KiB
JavaScript

import { axios } from '@/utils/request'
/**
* 查询公众号
*
* @author liuzl
*/
export function GetPageList(parameter) {
return axios({
url: '/OfficlaAccount/page',
method: 'post',
data: parameter
})
}
/**
* 公众号列表
*
* @author liuzl
*/
export function GetList(parameter) {
return axios({
url: '/OfficlaAccount/list',
method: 'post',
data: parameter
})
}
/**
* 公众号信息提交
*
* @author liuzl
*/
export function Submit(parameter) {
return axios({
url: '/OfficlaAccount/list',
method: 'post',
data: parameter
})
}
/**
* 删除公众号
*
* @author liuzl
*/
export function Delete(parameter) {
return axios({
url: '/OfficlaAccount/delete',
method: 'post',
data: parameter
})
}
/**
* 获取授权地址
*
* @author liuzl
*/
export function GetAuthPage(parameter) {
return axios({
url: '/OfficlaAccount/getauthpage',
method: 'get',
params: parameter
})
}
/**
* 获取小程序订阅模板列表
*
* @author liuzl
*/
export function GetSubscribeTplList(parameter) {
return axios({
url: '/OfficlaAccount/getsubscribetpllist',
method: 'post',
data: parameter
})
}
/**
* 同步小程序订阅模板列表
*
* @author liuzl
*/
export function GetTemplateList(parameter) {
return axios({
url: '/OfficlaAccount/gettemplatelist',
method: 'get',
params: parameter
})
}
/**
* 选中模板
*
* @author liuzl
*/
export function SetTplAsMessage(parameter) {
return axios({
url: '/OfficlaAccount/settplasmessage',
method: 'post',
data: parameter
})
}
/**
* 设置订阅消息模板内容
*
* @author liuzl
*/
export function SetSubscribeTplContext(parameter) {
return axios({
url: '/OfficlaAccount/setsubscribetplcontent',
method: 'post',
data: parameter
})
}
/**
* 微信客服设置
*
* @author liuzl
*/
export function SetCustomService(parameter) {
return axios({
url: '/OfficlaAccount/setcustomservice',
method: 'post',
data: parameter
})
}
/**
* 获取小程序代码模板列表
*
* @author liuzl
*/
export function GetCodeTplList(parameter) {
return axios({
url: '/OfficlaAccount/gettpllist',
method: 'post',
data: parameter
})
}
/**
* 获取小程序代码草稿列表
*
* @author liuzl
*/
export function GetCodeDraftList(parameter) {
return axios({
url: '/OfficlaAccount/getdraftlist',
method: 'post',
data: parameter
})
}
/**
* 获取小程序代码提交历史列表
*
* @author liuzl
*/
export function GetHistroyList(parameter) {
return axios({
url: '/OfficlaAccount/gethistorylist',
method: 'post',
data: parameter
})
}
/**
* 获取小程序体验码
*
* @author liuzl
*/
export function GetQrCode(parameter) {
return axios({
url: '/OfficlaAccount/getqrcode',
method: 'post',
data: parameter
})
}
/**
* 更新资料
*
* @author liuzl
*/
export function UpdateInfo(parameter) {
return axios({
url: '/OfficlaAccount/getinfo',
method: 'post',
data: parameter
})
}
/**
* 修改域名
*
* @author liuzl
*/
export function ModifyDomain(parameter) {
return axios({
url: '/OfficlaAccount/modifydomain',
method: 'post',
data: parameter
})
}
/**
* 同步代码模板
*
* @author liuzl
*/
export function SyncCodeTpl(parameter) {
return axios({
url: '/OfficlaAccount/synctpl',
method: 'post',
data: parameter
})
}
/**
* 同步代码草稿
*
* @author liuzl
*/
export function SyncCodeDraft(parameter) {
return axios({
url: '/OfficlaAccount/syncdraft',
method: 'post',
data: parameter
})
}
/**
* 为小程序上传代码
*
* @author liuzl
*/
export function CommitCode(parameter) {
return axios({
url: '/OfficlaAccount/commit',
method: 'post',
data: parameter
})
}
/**
* 代码草稿设置为模板
*
* @author liuzl
*/
export function DraftToTemplate(parameter) {
return axios({
url: '/OfficlaAccount/addtotemplate',
method: 'post',
data: parameter
})
}
/**
* 删除代码模板
*
* @author liuzl
*/
export function DeleteCodeTemplate(parameter) {
return axios({
url: '/OfficlaAccount/deletetemplate',
method: 'post',
data: parameter
})
}
/**
* 小程序提交审核
*
* @author liuzl
*/
export function SubmitAudit(parameter) {
return axios({
url: '/OfficlaAccount/submitaudit',
method: 'post',
data: parameter
})
}
/**
* 小程序撤回审核
*
* @author liuzl
*/
export function UndoCodeAudit(parameter) {
return axios({
url: '/OfficlaAccount/UndoCodeAudit',
method: 'post',
data: parameter
})
}
/**
* 小程序发布版本
*
* @author liuzl
*/
export function Release(parameter) {
return axios({
url: '/OfficlaAccount/Release',
method: 'post',
data: parameter
})
}
/**
* 获取审核状态
*
* @author liuzl
*/
export function GetCommitStatus(parameter) {
return axios({
url: '/OfficlaAccount/getcommitstatus',
method: 'post',
data: parameter
})
}
/**
* 获取域名列表
*
* @author liuzl
*/
export function GetDomainList(parameter) {
return axios({
url: '/OfficlaAccount/GetDomain',
method: 'post',
data: parameter
})
}
/**
* 获取微信客服信息
*
* @author liuzl
*/
export function GetCustomService(parameter) {
return axios({
url: '/OfficlaAccount/GetCustomService',
method: 'post',
data: parameter
})
}
/**
* 获取微信配置
*
* @author liuzl
*/
export function GetConfig(parameter) {
return axios({
url: '/OfficlaAccount/config/detail',
method: 'post',
data: parameter
})
}
/**
* 删除微信配置
*
* @author liuzl
*/
export function DeleteConfig(parameter) {
return axios({
url: '/OfficlaAccount/config/delete',
method: 'post',
data: parameter
})
}
/**
* 提交微信配置
*
* @author liuzl
*/
export function SumitConfig(parameter) {
return axios({
url: '/OfficlaAccount/config/submitform',
method: 'post',
data: parameter
})
}
// 封面上传
export function UploadImg(parameter) {
return axios({
url: '/OfficlaAccount/config/uploadimg',
method: 'post',
data: parameter
})
}
// 小程序头像上传
export function UploadHeadImg(parameter) {
return axios({
url: '/OfficlaAccount/uploadimg',
method: 'post',
data: parameter
})
}
// 手动添加小程序
export function SubmitMini(parameter) {
return axios({
url: '/OfficlaAccount/insertmini',
method: 'post',
data: parameter
})
}
// 获取隐私信息
export function GetMiniPrivacy(parameter) {
return axios({
url: '/OfficlaAccount/privacy/get',
method: 'post',
data: parameter
})
}
// 设置隐私信息
export function SetMiniPrivacy(parameter) {
return axios({
url: '/OfficlaAccount/privacy/set',
method: 'post',
data: parameter
})
}