1
This commit is contained in:
@@ -105,3 +105,47 @@ export function testUserInfo() {
|
||||
})
|
||||
}
|
||||
|
||||
// ==================== H-TF订单自动写入配置接口 ====================
|
||||
|
||||
// 获取自动写入配置
|
||||
export function getAutoWriteConfig() {
|
||||
return request({
|
||||
url: '/jarvis/tencentDoc/config',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 更新自动写入配置
|
||||
export function updateAutoWriteConfig(data) {
|
||||
return request({
|
||||
url: '/jarvis/tencentDoc/config',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 测试配置是否有效
|
||||
export function testAutoWriteConfig() {
|
||||
return request({
|
||||
url: '/jarvis/tencentDoc/config/test',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 清除自动写入配置
|
||||
export function clearAutoWriteConfig() {
|
||||
return request({
|
||||
url: '/jarvis/tencentDoc/config',
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取文档的工作表列表
|
||||
export function getDocSheetList(fileId) {
|
||||
return request({
|
||||
url: '/jarvis/tencentDoc/config/sheets',
|
||||
method: 'get',
|
||||
params: { fileId }
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user