Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -8,3 +8,20 @@ export function quoteBilling(data) {
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/** Historical quote list */
|
||||
export function listQuote(query) {
|
||||
return request({
|
||||
url: '/price/billing/quote/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
/** Historical quote detail */
|
||||
export function getQuote(quoteId) {
|
||||
return request({
|
||||
url: '/price/billing/quote/' + quoteId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
@@ -17,11 +17,15 @@ export function getProduct(productId) {
|
||||
})
|
||||
}
|
||||
|
||||
/** 查询产品国家明细 */
|
||||
export function listProductCountries(productCode) {
|
||||
/** 查询产品国家明细(优先 productId,绑定到具体产品版本行) */
|
||||
export function listProductCountries(productCode, effectiveDate, productId) {
|
||||
const params = {}
|
||||
if (effectiveDate) params.effectiveDate = effectiveDate
|
||||
if (productId) params.productId = productId
|
||||
return request({
|
||||
url: '/price/product/' + productCode + '/countries',
|
||||
method: 'get'
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user