123456789101112131415161718192021222324252627282930313233343536373839404142 |
- import { myFetch, download, commonUpload } from "../utils/fetch";
- import { httpApi } from "@/common/js/baseUrl";
- import zlbApi from "@/api/zlbApi";
- export function getDictionaryByName(data) {
- const url = zlbApi.getDictionaryByName;
- return myFetch(url, "get", data, "json");
- }
- export function getDicByNameList(data) {
- const url = zlbApi.getDicByNameList;
- return myFetch(url, "get", data, "json");
- }
- export function listArea(data) {
- const url = zlbApi.listArea;
- return myFetch(url, "get", data, "json");
- }
- export function uploadFile(config = { tempFilePath: "", fileBase64Vos: '', catalog: '' }) {
- console.log("上传文件配置", config);
- const url = zlbApi.uploadBase64;
- return myFetch(url, "post", config, "json");
- }
- export function downloadFile(data) {
- const url = zlbApi.fileDownload;
- return download(url, "get", data);
- }
- export function ZzdLogin(data) {
- const url = zlbApi.ZzdLogin;
- return myFetch(url, "get", data, "json");
- }
|