xxba.js 1.07 KB
/*
 * @Description: 信息备案
 * @Autor:
 * @LastEditTime: 2023-07-19 14:52:03
 */

import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))

/**
 * @description: 添加银行
 * @param {*} data
 * @author:
 */
export function addYh (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/sys/company/addYh',
    method: 'post',
    data
  })
}
/**
 * @description: 添加企业
 * @param {*} data
 * @author:
 */
export function addQy (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/sys/company/addQy',
    method: 'post',
    data
  })
}

/**
 * @description: 查询企业列表
 * @author:
 * @param data
 */
export function queryQyByPage (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/sys/company/queryQyByPage',
    method: 'post',
    data
  })
}

/**
 * @description: 查询银行列表
 * @author:
 * @param data
 */
export function queryYhByPage (data) {
  return request({
    url: SERVER.SERVERAPI + '/rest/sys/company/queryYhByPage',
    method: 'post',
    data
  })
}