新增应用中心

This commit is contained in:
gyq
2024-05-28 11:57:53 +08:00
parent f71e170a02
commit 80b713c3d5
12 changed files with 872 additions and 28 deletions

27
src/api/application.js Normal file
View File

@@ -0,0 +1,27 @@
import request from "@/utils/request";
/**
* 增加打印机
* @returns
*/
export function tbPrintMachine(data, method = "post") {
return request({
url: "/api/tbPrintMachine",
method: method,
data: {
shopId: localStorage.getItem("shopId"),
...data
}
});
}
/**
* 获取应用中心列表
* @returns
*/
export function appCenterGet() {
return request({
url: "/api/appCenter",
method: "get"
});
}