From 212f81d79dc966cdf5f73a658a070ca79d69e822 Mon Sep 17 00:00:00 2001
From: wujianwei <wjw@11.com>
Date: 星期二, 09 九月 2025 16:40:02 +0800
Subject: [PATCH] 新增接口

---
 ui/admin-ui3/src/api/cwgl/smartLockerApplication.ts |   67 +++++++++++++++++++++++++++++++++
 1 files changed, 67 insertions(+), 0 deletions(-)

diff --git a/ui/admin-ui3/src/api/cwgl/smartLockerApplication.ts b/ui/admin-ui3/src/api/cwgl/smartLockerApplication.ts
new file mode 100644
index 0000000..68af655
--- /dev/null
+++ b/ui/admin-ui3/src/api/cwgl/smartLockerApplication.ts
@@ -0,0 +1,67 @@
+import request,{download,requestType} from "@/utils/request";
+import {BaseEntityInterface} from "@/utils/globalInterface";
+export interface SmartLockerApplicationI extends BaseEntityInterface{
+            id ?:  number   ,            commandType ?:  number   ,            applicantCode ?:  string   ,            applicantName ?:  string   ,            itemType ?:  number   ,            itemName ?:  string   ,            lockerNo ?:  string   ,            lockerPort ?:  number   ,            status ?:  number   ,            cancelTime ?:  string   ,            receiveTime ?:  string   ,            createTime ?:  string   ,            updateTime ?:  string   ,            remark ?:  string   ,            createBy ?:  string   ,            updateBy ?:  string   ,            deleted ?:  number       }
+
+
+/**
+ * 鏌ヨ鏅鸿兘鏌滅墿鍝佺敵棰嗙鐞嗗垪琛�
+ */
+export const listSmartLockerApplication:requestType = (query) => {
+    return request({
+        url: '/cwgl/smartLockerApplication/list',
+        method:'get',
+        params:query
+    })
+}
+/**
+ * 鏌ヨ鏅鸿兘鏌滅墿鍝佺敵棰嗙鐞嗚缁�
+ */
+export const getSmartLockerApplication:requestType = (id) => {
+    return request({
+        url: '/cwgl/smartLockerApplication/' + id,
+        method:'get'
+    })
+}
+
+/**
+ * 鏂板鏅鸿兘鏌滅墿鍝佺敵棰嗙鐞�
+ */
+export const addSmartLockerApplication:requestType = (data) => {
+    return request({
+        url: '/cwgl/smartLockerApplication',
+        method: 'post',
+        data
+    })
+}
+
+/**
+ * 淇敼鏅鸿兘鏌滅墿鍝佺敵棰嗙鐞�
+ */
+export const updateSmartLockerApplication:requestType = (data) => {
+    return request({
+        url: '/cwgl/smartLockerApplication',
+        method: 'put',
+        data
+    })
+}
+
+/**
+ * 鍒犻櫎鏅鸿兘鏌滅墿鍝佺敵棰嗙鐞�
+ */
+export const delSmartLockerApplication:requestType = (id) => {
+    return request({
+        url: '/cwgl/smartLockerApplication/' + id,
+        method: 'delete'
+    })
+}
+
+
+/**
+ * 瀵煎嚭鏅鸿兘鏌滅墿鍝佺敵棰嗙鐞�
+ */
+export const exportSmartLockerApplication:requestType = (query) => {
+    return new Promise<any>(()=>{
+        download('/cwgl/smartLockerApplication/export',query);
+    })
+}

--
Gitblit v1.8.0