GitBucket
4.23.0
Toggle navigation
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Forks
hanfei
/
VueSharedPrinting
Browse code
更新
master
1 parent
752f617
commit
2efaf844bf5b84d4fa9a60e28b1cca8ea8db8af7
hanfei
authored
on 13 Mar 2024
Patch
Showing
1 changed file
src/api/bdResultApi.js
Ignore Space
Show notes
View
src/api/bdResultApi.js
import request from '../utils/bdRequest' // 获取设备编号 export const getDeviceCode = data => { return request({ method: 'GET', post: '8888', url: '/client/getDeviceCode', params: data }) } // 调用打印机打印 export const apiPrint = data => { return request({ method: 'POST', post: '8080', url: '/api/Printer/Print', data }) } // 获取身份证信息 export const readCard = data => { return request({ method: 'GET', post: '7846', url: '/api/readCard', params: data }) } // 读取U盘 export const readUsb = data => { return request({ method: 'GET', post: '8888', url: '/read/usb', params: data }) } // 本地文件获取文件流 export const readFile = data => { return request({ post: '8888', url: '/read/upload2Pdf', params: data }) } // 本地文件获取大文件oss export const readFile2 = data => { return request({ post: '8888', url: '/read/upload2PdfOss', params: data }) } // 通过文件路径下载给打印机打印 export const readDownload = data => { return request({ method: 'POST', post: '8888', url: '/read/download', params: data }) }
import request from '../utils/bdRequest' // 获取设备编号 export const getDeviceCode = data => { return request({ method: 'GET', post: '8888', url: '/client/getDeviceCode', params: data }) } // 调用打印机打印 export const apiPrint = data => { return request({ method: 'POST', post: '8080', url: '/api/Printer/Print', data }) } // 获取身份证信息 export const readCard = data => { return request({ method: 'GET', post: '7846', url: '/api/readCard', params: data }) } // 读取U盘 export const readUsb = data => { return request({ method: 'GET', post: '8888', url: '/read/usb', params: data }) } // 本地文件获取文件流 export const readFile = data => { return request({ post: '8888', url: '/read/upload2Pdf', params: data }) } // 本地文件获取大文件oss export const readFile2 = data => { return request({ post: '8888', url: '/read/upload2Pdf', params: data }) } // 通过文件路径下载给打印机打印 export const readDownload = data => { return request({ method: 'POST', post: '8888', url: '/read/download', params: data }) }
Show line notes below