1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- import request from '@/utils/request'
- export function addDevice(params) {
- return request({
- url: '/ajax/bridge',
- method: 'post',
- params
- })
- }
- export function updateDevice(params) {
- return request({
- url: '/ajax/bridge/update',
- method: 'post',
- params
- })
- }
- export function deleteDevice(params) {
- return request({
- url: '/ajax/bridge/delete',
- method: 'get',
- params
- })
- }
- export function queryDevice(params) {
- return request({
- url: '/ajax/bridge/qo',
- method: 'get',
- params
- })
- }
- export function pageQueryDevice(params) {
- return request({
- url: '/ajax/bridge/pq',
- method: 'get',
- params
- })
- }
- export function checkDeviceCode(params) {
- return request({
- url: '/ajax/bridge/checkCode',
- method: 'get',
- params
- })
- }
- export function checkBridgeShortName(params) {
- return request({
- url: '/ajax/bridge/checkShortName',
- method: 'get',
- params
- })
- }
- export function checkBridgeName(params) {
- return request({
- url: '/ajax/bridge/checkName',
- method: 'get',
- params
- })
- }
- export function uploadBridgeImg() {
- return request({
- url: '/ajax/bridge/upload',
- method: 'post'
- })
- }
|