aaa
import {
formPost,
fetchPost,
fetchGet
} from '../require'
// 登录
export function login(data) {
var url = '/ebooking/import/api/noPermissions/login';
var param = data;
return formPost(url, param);
}
//注册前置校验
export function beforeRegisterCheck(data) {
var url = '/ebooking/import/api/noPermissions/beforeRegisterCheck';
var param = data;
return fetchPost(url, param);
}
//获取所有子用户
export function getAllChildUser(data) {
var url = '/ebooking/import/api/sysUser/userMsg/getAllChildUser';
var param = data;
return fetchPost(url, param);
}
//进口用户管理查询
export function userManagementQuery(data) {
var url = '/ebooking/import/api/sysUser/userMsg/loadUserList';
var param = data;
return fetchPost(url, param);
}
//添加或修改用户信息
export function addOrUpdate(data) {
var url = '/ebooking/import/api/sysUser/userMsg/addOrUpdate';
var param = data;
return fetchPost(url, param);
}
//删除用户
export function deleteUser(data) {
var url = '/ebooking/import/api/sysUser/userMsg/delete';
var param = data;
return fetchPost(url, param);
}
//权限管理查询
export function loadPermissionsList(data) {
var url = '/ebooking/import/api/sysUser/premissions/loadPermissionsList';
var param = data;
return fetchPost(url, param);
}
//加载权限菜单项
export function loadPermissionsItem(data) {
var url = '/ebooking/import/api/sysUser/premissions/loadPermissionsItem';
var param = data;
return fetchPost(url, param);
}
//授权(修改权限)
export function accredit(data) {
var url = '/ebooking/import/api/sysUser/premissions/accredit';
var param = data;
return fetchPost(url, param);
}
//上传文件
export function uploadResource(data) {
var url = '/ebooking/import/api/noPermissions/uploadResource';
var param = data;
return fetchPost(url, param);
}
//注册
export function register(data) {
var url = '/ebooking/import/api/noPermissions/register';
var param = data;
return fetchPost(url, param);
}
//修改用户密码
export function updatePwd(data) {
var url = '/ebooking/import/api/sysUser/userMsg/updatePwd';
var param = data;
return fetchPost(url, param);
}
//根据userId获取注册信息
export function loadUserDataByUserId(data) {
var url = '/ebooking/import/api/noPermissions/loadUserDataByUserId';
var param = data;
return fetchPost(url, param);
}
//更新注册信息
export function updateRegister(data) {
var url = '/ebooking/import/api/noPermissions/updateRegister';
var param = data;
return fetchPost(url, param);
}
//申请电子提货单权限
export function applyBol(data) {
var url = '/ebooking/import/api/sysUser/premissions/applyElectronicBillPermissions';
var param = data;
return fetchPost(url, param);
}
//注销
export function getElectronic(data) {
var url = '/ebooking/import/api/sysUser/premissions/getElectronicBillCertFile';
var param = data;
return fetchPost(url, param);
}
//注销
export function logout(data) {
var url = '/ebooking/import/api/noPermissions/logout';
var param = data;
return fetchPost(url, param);
}
// 重置子账号密码
export function resetChildAccountPwd(data) {
var url = '/ebooking/import/api/sysUser/userMsg/resetChildAccountPwd'
var param = data
return fetchPost(url, param)
}
// 统一登录获取用户信息
export function getUserInfo(data) {
var url = '/ebooking/import/api/sysUser/userMsg/getUserInfo'
var param = data
return fetchPost(url, param)
}
// 根据用户id查询是否绑定微信
export function isBindWechatByUserId(data) {
var url = '/ebooking/import/api/noPermissions/userMsg/isBindWechatByUserId?userId=' + data
return fetchGet(url)
}
// 解除微信绑定
export function cancelBindWxOpenId(data) {
var url = '/ebooking/import/api/noPermissions/userMsg/cancelBindWxOpenId?userId=' + data
return fetchGet(url)
}
//判断是否存在电子账单和定期结算页面
export function InformationControlMenu(data) {
var url = '/ebooking/import/api/impdoc/importFee/hasAuthority'
var param = data
return fetchPost(url, param)
}