You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
795 B
37 lines
795 B
import http from '../utils/http/index.js'
|
|
|
|
/**
|
|
* 获取授信公司列表
|
|
* @param {object} data
|
|
* @returns
|
|
*/
|
|
export function getCreditCompanyList(data) {
|
|
return http.get({
|
|
url: '/base-paper-trading/get/customer-investigationcredit/list',
|
|
data
|
|
})
|
|
}
|
|
|
|
/**
|
|
* 获取公司授信订单列表
|
|
* @param {object} data
|
|
* @returns
|
|
*/
|
|
export function getCompanyCreditOrderList(data) {
|
|
return http.get({
|
|
url: '/base-paper-trading/get/customer-feisuan-order/list',
|
|
data
|
|
})
|
|
}
|
|
|
|
/**
|
|
* 上传征信
|
|
* @param {object} data
|
|
* @returns
|
|
*/
|
|
export function uploadCompanyCredit(data) {
|
|
return http.post({
|
|
url: `/base-paper-trading/upload/bank-investigation-credit/for-customer?customerEnterpriseId=${data.customerEnterpriseId}&supplierId=${data.supplierId}`,
|
|
data
|
|
})
|
|
}
|