Commit 2333da26 by 王昆

dd

parent e46c4abf
...@@ -115,7 +115,7 @@ class InvoiceCtl extends CtlBase { ...@@ -115,7 +115,7 @@ class InvoiceCtl extends CtlBase {
if(!pobj.invoice_id){ if(!pobj.invoice_id){
return system.getResult(null,`参数错误 发票ID 不能为空`); return system.getResult(null,`参数错误 发票ID 不能为空`);
} }
let res = await this.invoiceSve.uploadDetailSve(pobj.invoice_id); let res = await this.invoiceSve.uploadDetail(pobj.invoice_id);
return res; return res;
} }
......
...@@ -155,7 +155,7 @@ class InvoiceService extends ServiceBase { ...@@ -155,7 +155,7 @@ class InvoiceService extends ServiceBase {
* fn:提交发票道财税系统 * fn:提交发票道财税系统
* @param {*} invoice_id * @param {*} invoice_id
*/ */
async uploadDetailSve(invoice_id){ async uploadDetail(invoice_id){
let invoice = await this.callms("invoice", "invoice", {id:invoice_id}); let invoice = await this.callms("invoice", "invoice", {id:invoice_id});
if(!invoice || !invoice.data){ if(!invoice || !invoice.data){
return system.getResult(`发票不存在`); return system.getResult(`发票不存在`);
......
...@@ -182,8 +182,8 @@ class System { ...@@ -182,8 +182,8 @@ class System {
// merchant: "http://127.0.0.1:3101" + path, // merchant: "http://127.0.0.1:3101" + path,
// 订单服务 // 订单服务
order: domain2 + ":3103" + path, order: domain + ":3103" + path,
// order: "http://127.0.0.1:3103" + path, // order: domain2 + ":3103" + path,
// 发票服务 // 发票服务
invoice: domain2 + ":3105" + path, invoice: domain2 + ":3105" + path,
......
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