Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
2333da26
Commit
2333da26
authored
Apr 07, 2020
by
王昆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
e46c4abf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
xgg-admin/app/base/controller/impl/invoice/invoiceCtl.js
+1
-1
xgg-admin/app/base/service/impl/invoice/invoiceSve.js
+1
-1
xgg-admin/app/base/system.js
+2
-2
No files found.
xgg-admin/app/base/controller/impl/invoice/invoiceCtl.js
View file @
2333da26
...
@@ -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
.
uploadDetail
Sve
(
pobj
.
invoice_id
);
let
res
=
await
this
.
invoiceSve
.
uploadDetail
(
pobj
.
invoice_id
);
return
res
;
return
res
;
}
}
...
...
xgg-admin/app/base/service/impl/invoice/invoiceSve.js
View file @
2333da26
...
@@ -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
uploadDetail
Sve
(
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
(
`发票不存在`
);
...
...
xgg-admin/app/base/system.js
View file @
2333da26
...
@@ -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
:
domain
2
+
":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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment