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
c9ad4512
Commit
c9ad4512
authored
Jan 10, 2020
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pay
parent
7d588461
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
igirl-channel/app/base/service/impl/dborder/orderSve.js
+5
-2
No files found.
igirl-channel/app/base/service/impl/dborder/orderSve.js
View file @
c9ad4512
...
...
@@ -14,6 +14,7 @@ class OrderService extends ServiceBase {
this
.
fqReqUrl
=
"https://yunfuapi.gongsibao.com"
;
//线上域名
// this.fqReqUrl = "https://yunfuapi-dev.gongsibao.com";//dev域名
this
.
restClient
=
system
.
getObject
(
"util.restClient"
);
this
.
appDao
=
system
.
getObject
(
"db.dbapp.appDao"
);
}
async
addOrderAndDelivery
(
action_body
,
pobj
,
req
)
{
...
...
@@ -817,11 +818,13 @@ class OrderService extends ServiceBase {
async
checkPayStatusTl
(
obj
)
{
//通联支付状态验证
var
wxPayOrderCode
=
obj
.
wxPayOrderCode
||
""
;
var
aliPayOrderCode
=
obj
.
aliPayOrderCode
||
""
;
var
app
=
obj
.
app
;
var
comanyId
=
obj
.
company_id
;
var
app
=
await
this
.
appDao
.
findOne
({
where
:{
uAppId
:
comanyId
},
raw
:
true
});
if
(
!
app
){
return
system
.
getResultFail
(
-
100
,
"渠道参数错误"
);
}
var
comanyId
=
app
.
uAppId
;
var
opType
=
obj
.
op_type
;
var
orderCode
=
obj
.
orderCode
;
if
(
!
wxPayOrderCode
||
!
aliPayOrderCode
||
!
comanyId
||
!
opType
||
!
orderCode
)
{
...
...
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