Files
cashier_desktop/src/api/system.js
2025-03-25 00:31:50 +08:00

13 lines
275 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import request from "@/utils/request.js";
/**
* 获取版本 pc:pc端 type 0 windows1 安卓2 iOS
* @returns
*/
export function findVersion(source = "pc", type = 0) {
return request({
method: "get",
url: `/system/admin/version/${source}/${type}`,
});
}