From dc6f2048ce40cdb1aa0ad6200ad67d3af116c575 Mon Sep 17 00:00:00 2001 From: 展杰 <1240968267@qq.com> Date: 星期二, 04 六月 2024 13:13:34 +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