新增应用中心
This commit is contained in:
27
src/api/application.js
Normal file
27
src/api/application.js
Normal 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"
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user