// 引入 request 文件 import request from '@/request/index.js' // 以下 api 为博主项目示例,实际与项目相匹配 //检测是否存在用户 // export const isRel = (tel) => { // return request({ // url: `/api/pad/loginApi/getAdvisoryInfo?tel=${encodeURIComponent(tel)}`, // method: 'get', // }) // } //获得登录图片 export const getCardList = () => { return request({ url: `${uni.getStorageSync('serverUrl')}/api/pad/baseInfo/queryPadPageList?token=${uni.getStorageSync('token')}`, method: 'get', }) } //登录 // export const loginApp = (params) => { // return request({ // url: `${uni.getStorageSync('serverUrl')}/sys/login`, // method: 'post', // data: params, // }) // } // // 查询表格 // export const getNclist = () => { // return request({ // url: '/nuIpadApi/nuBizNuCustomerServer/getNclist?nuId=1&customerId=1', // method: 'get', // }) // } // // 新增表格 // export const addNuCustomerServer = (params) => { // return request({ // url: '/nuIpadApi/nuBizNuCustomerServer/addNuCustomerServer', // method: 'post', // data: params, // }) // } // // 移动表格 // export const editNuCustomerServer = (params) => { // return request({ // url: '/nuIpadApi/nuBizNuCustomerServer/editNuCustomerServer', // method: 'post', // data: params, // }) // } // export const deleteNuCustomerServer = (params) => { // return request({ // url: `/nuIpadApi/nuBizNuCustomerServer/deleteNuCustomerServer?id=${params.id}`, // method: 'delete', // }) // } // // 移动表格 // export const addBatch = (params) => { // return request({ // url: '/nuIpadApi/nuBizNuCustomerServer/addBatch', // method: 'post', // data: params, // }) // }