Publish apes-Authon-Web via gitea-publish skill
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
class n8nApi {
|
||||
/**
|
||||
* 调用 n8n webhook:伙伴表数据同步+填充
|
||||
* @param {string} spaceId - 空间ID
|
||||
* @param {string} tableId - 表格ID
|
||||
*/
|
||||
async huobanTableSyncAndFill(spaceId, tableId) {
|
||||
const url = `/n8n/webhook/4dad745d-c71d-4668-81a3-33bf350730ff?spaceId=${encodeURIComponent(spaceId)}&tableId=${encodeURIComponent(tableId)}`
|
||||
return await request.apiGet(url)
|
||||
}
|
||||
}
|
||||
|
||||
const target = new n8nApi()
|
||||
export default target
|
||||
Reference in New Issue
Block a user