Commit 031e8038 by 王昆

gsb

parent 010c42d8
......@@ -92,7 +92,7 @@ class InvoiceCtl extends CtlBase {
// apply = apply.data;
let result = await this.buildTradeInvoice(params);
return system.getResultSuccess(result);
return result;
} catch (error) {
let msg = error.message;
if (msg.startsWith("bpo-validation-error:")) {
......@@ -192,7 +192,7 @@ class InvoiceCtl extends CtlBase {
invoice.value_added_tax = Number(invoiceCalc.value_added_tax);
}
return {
return system.getResultSuccess({
tax: {
additional_tax_total: additional_tax_total,
personal_invoice_tax_total: personal_invoice_tax_total,
......@@ -200,7 +200,7 @@ class InvoiceCtl extends CtlBase {
service_tax_total: service_tax_total,
},
invoiceList: invoiceList
}
})
}
async platformInvoiceApply(params, pobj2, req) {
......
......@@ -194,10 +194,10 @@ class System {
common: dev + ":3102" + path,
// 商户服务
merchant: dev + ":3101" + path,
merchant: local + ":3101" + path,
// 订单服务
order: local + ":3103" + path,
order: dev + ":3103" + path,
// 发票服务
invoice: local + ":3105" + path,
......@@ -206,7 +206,7 @@ class System {
uc: dev + ":3106" + path,
// 交易
trade: local + ":3107" + path,
trade: dev + ":3107" + path,
}
} else {
return {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment