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
df25f7d1
Commit
df25f7d1
authored
Apr 12, 2020
by
孙亚楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
de74d45e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
xgg-saas-platform/app/base/api/impl/inner/notifyApi.js
+5
-0
xgg-saas-platform/app/base/service/impl/saas/saasinvoiceSve.js
+13
-0
No files found.
xgg-saas-platform/app/base/api/impl/inner/notifyApi.js
View file @
df25f7d1
...
...
@@ -5,6 +5,7 @@ class TestAPI extends APIBase {
constructor
()
{
super
();
this
.
orderSve
=
system
.
getObject
(
"service.saas.orderSve"
);
this
.
invocieSve
=
system
.
getObject
(
"service.saas.orderSve"
);
}
async
statusNotify
(
pobj
,
query
,
req
)
{
...
...
@@ -22,6 +23,10 @@ class TestAPI extends APIBase {
}
else
if
(
pobj
.
status
==
"1000000"
||
"2000000"
)
{
//建账信息
let
res
=
await
this
.
orderSve
.
sveBusinessmen
(
pobj
);
return
res
;
}
else
if
(
pobj
.
status
=
"3000000"
){
//发票完成推送
let
res
=
await
this
.
invoiceSve
.
saveSaasInvoice
(
pobj
);
return
res
;
}
return
pobj
;
}
...
...
xgg-saas-platform/app/base/service/impl/saas/saasinvoiceSve.js
0 → 100644
View file @
df25f7d1
const
system
=
require
(
"../../../system"
);
const
ServiceBase
=
require
(
"../../svems.base"
)
const
settings
=
require
(
"../../../../config/settings"
)
class
SaasinvoiceService
extends
ServiceBase
{
constructor
()
{
super
();
}
}
module
.
exports
=
SaasinvoiceService
;
\ No newline at end of file
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