From 880d70bb3bf1029401dccdb5aa7dad2461c3124f Mon Sep 17 00:00:00 2001 From: Dong Xia Date: Mon, 20 Feb 2023 09:21:18 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BB=93=E5=BA=93=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E8=BD=AF=E4=BB=B6=E5=8C=85=E7=9B=B8=E5=85=B3api?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Dong Xia --- src/api/repository.js | 54 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/src/api/repository.js b/src/api/repository.js index 8ffe5b7..13e0c82 100644 --- a/src/api/repository.js +++ b/src/api/repository.js @@ -50,3 +50,57 @@ export function updateSourcePlan(data) { }) } +export function batchProcessing(data, isTip) { + const headers = { + 'Content-Type': 'application/json; charset=UTF-8', + tip: 'no' + } + if (isTip) delete headers.tip + return request({ + timeout: 0, + url: '/node/BatchProcessing', + method: 'post', + headers, + data + }) +} + +export function updateUserPkgPlan(data) { + return request({ + url: '/updateUserPkgPlan', + method: 'post', + data + }) +} + +export function queryUserPkgPlan(data) { + return request({ + url: '/queryUserPkgPlan', + method: 'post', + data + }) +} + +export function delUserPkgPlan(data) { + return request({ + url: '/delUserPkgPlan', + method: 'post', + data + }) +} + +export function insertUserPkgPlan(data) { + return request({ + url: '/updatePkgClass', + method: 'post', + data + }) +} + +export function getPkgSize(data) { + return request({ + url: 'getPkgSize', + method: 'post', + data + }) +} \ No newline at end of file -- Gitee