From 4a590faf4ca85dbfd713bb7504c8e35214163320 Mon Sep 17 00:00:00 2001 From: 展杰 <1240968267@qq.com> Date: 星期二, 04 六月 2024 13:11:01 +0800 Subject: [PATCH] 123 --- api/inspection.js | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/api/inspection.js b/api/inspection.js index 5be2256..bb76c01 100644 --- a/api/inspection.js +++ b/api/inspection.js @@ -47,4 +47,28 @@ 'Accept': 'application/json' } }) +} + +export function getBadReason() { + return request({ + 'url': '/check/getBadReason?userNo=' + uni.getStorageSync('userInfo').code, + 'method': 'post', + 'header': { + 'Content-Type': 'application/json', + 'dataType': 'json', + 'Accept': 'application/json' + } + }) +} + +export function generateInfo(checkNo) { + return request({ + 'url': '/check/generateInfo?checkNo=' + checkNo, + 'method': 'post', + 'header': { + 'Content-Type': 'application/json', + 'dataType': 'json', + 'Accept': 'application/json' + } + }) } \ No newline at end of file -- Gitblit v1.9.3