Commit a116d058 by 王昆

dd

parent 82bc52b0
...@@ -48,7 +48,7 @@ class InvoiceService extends ServiceBase { ...@@ -48,7 +48,7 @@ class InvoiceService extends ServiceBase {
var rs = await this.callms("invoice", "handleStatus", params); var rs = await this.callms("invoice", "handleStatus", params);
if(params.stataus=="1120"){ if(params.stataus=="1120"){
try { try {
if(res.stataus===0){ if(res.status===0){
await uploadDetailSve(params.invoice_id); await uploadDetailSve(params.invoice_id);
return rs; return rs;
}else{ }else{
...@@ -58,6 +58,8 @@ class InvoiceService extends ServiceBase { ...@@ -58,6 +58,8 @@ class InvoiceService extends ServiceBase {
console.log(error); console.log(error);
return system.getResult("提交财税系统失败,请联系管理员"); return system.getResult("提交财税系统失败,请联系管理员");
} }
}else{
return rs;
} }
} }
......
...@@ -186,8 +186,8 @@ class System { ...@@ -186,8 +186,8 @@ class System {
// order: "http://127.0.0.1:3103" + path, // order: "http://127.0.0.1:3103" + path,
// 发票服务 // 发票服务
invoice: domain2 + ":3105" + path, // invoice: domain2 + ":3105" + path,
// invoice: "http://127.0.0.1:3105" + path, invoice: "http://127.0.0.1:3105" + path,
// 用户中心 // 用户中心
uc: domain + ":3106" + path , uc: domain + ":3106" + 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