From 4898b385886794bf0663ec2d883ea808b78ae522 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期三, 19 七月 2023 11:37:25 +0800 Subject: [PATCH] 接口联调相关api添加 --- src/api/client/followupRecords.js | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/api/custom/followupRecords.js b/src/api/client/followupRecords.js similarity index 77% rename from src/api/custom/followupRecords.js rename to src/api/client/followupRecords.js index 581b719..e76bd53 100644 --- a/src/api/custom/followupRecords.js +++ b/src/api/client/followupRecords.js @@ -8,10 +8,11 @@ }) } // 娣诲姞璺熻繘璁板綍 -export function getAddFollowRecord() { +export function getAddFollowRecord(data) { return request({ url: "/api/followRecord/add", - method: "post" + method: "post", + data }) } // 鍒犻櫎璺熻繘璁板綍 @@ -23,9 +24,10 @@ }) } // 鏇存柊璺熻繘璁板綍 -export function getUpdateFollowRecord() { +export function getUpdateFollowRecord(data) { return request({ url: "/api/followRecord/update", - method: "put" + method: "put", + data }) } -- Gitblit v1.8.0