1234567891011121314151617181920212223 |
- import request from '@/utils/request'
- import qs from 'qs'
- export const saveOrUpdate = (unitAuthenticationInfo,token) => {
- return new request({
- url: './uc/unitAuthenticationInfos',
- method: (unitAuthenticationInfo.id ? 'put' : 'post'),
- headers: {
- token
- },
- data: {
- unitAuthenticationInfo
- }
- });
- }
- export const getUnitAuthenticationStatus = () => {
- return new request({
- url: './uc/unitAuthenticationInfos/getUnitAuthenticationInfo',
- method: 'get'
- });
- }
|