| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- import {
- exampleList,
- addUserOrUpdate,
- userFileInfo,
- ffmpegMergeImage,
- fireDetailByPsw,
- getAttachListByPsw,
- getCode,
- getCompanyList,
- getDownloadProcess,
- getFireList,
- getMessageList,
- getModelSceneList,
- getRoleList,
- getSceneList,
- insertCaseFile,
- saveCaseFileInfo,
- sendUserMsg,
- updateCaseFile,
- updatePsw,
- uploadAttachFile,
- uploadAttachImage,
- uploadFile,
- newupload,
- uploadModel,
- userLogin,
- userReg,
- newFileupload,
- getByTree,
- packageData,
- } from "./urls";
- // 不需要登录就能请求的接口
- export const notLoginUrls = [
- userLogin,
- getCode,
- sendUserMsg,
- userReg,
- updatePsw,
- getCompanyList,
- fireDetailByPsw,
- getAttachListByPsw,
- // getByTree,
- addUserOrUpdate,
- userFileInfo,
- packageData,
- ];
- // 需要用表单提交的数据
- export const fromUrls: string[] = [];
- // 带文件的请求
- export const fileUrls = [
- uploadAttachFile,
- uploadAttachImage,
- uploadModel,
- updateCaseFile,
- uploadFile,
- newupload,
- insertCaseFile,
- saveCaseFileInfo,
- newFileupload,
- ffmpegMergeImage,
- ];
- // 需要限定卫GET请求方式的url
- export const GetUrls = [getRoleList, getCompanyList];
- // 需要限定请求方式的url
- export const PostUrls = [
- exampleList,
- getFireList,
- getMessageList,
- getSceneList,
- getModelSceneList,
- ];
- // 未认证code
- export const unAuthCode = [3004, 4008, 4010, 7012];
- export const successCode = [0, "000000", 200];
- // baseURL
- export const baseURL = import.meta.env.DEV ? "" : "";
- export const notOpenUrls: string[] = [uploadModel, getDownloadProcess];
|