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
b50314f3
Commit
b50314f3
authored
Jul 03, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
a35917aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
brg-user-center/app/base/api/api.base.js
+1
-0
brg-user-center/app/base/service/impl/order/orderInfoSve.js
+3
-2
No files found.
brg-user-center/app/base/api/api.base.js
View file @
b50314f3
...
@@ -41,6 +41,7 @@ class APIBase {
...
@@ -41,6 +41,7 @@ class APIBase {
pobj
:
pobj
,
pobj
:
pobj
,
query
:
query
query
:
query
}
}
console
.
log
(
JSON
.
stringify
(
param
),
".....base........req..........."
)
try
{
try
{
var
result
=
await
this
[
methodname
](
pobj
,
query
,
req
);
var
result
=
await
this
[
methodname
](
pobj
,
query
,
req
);
if
(
!
result
)
{
if
(
!
result
)
{
...
...
brg-user-center/app/base/service/impl/order/orderInfoSve.js
View file @
b50314f3
...
@@ -116,7 +116,7 @@ class OrderInfoService extends ServiceBase {
...
@@ -116,7 +116,7 @@ class OrderInfoService extends ServiceBase {
}
}
//发货回调
//发货回调
async
orderPayNotify
dev
(
pobj
)
{
async
orderPayNotify
(
pobj
)
{
if
(
!
pobj
.
actionBody
.
interface
||
!
pobj
.
actionBody
.
interface
.
para
)
{
if
(
!
pobj
.
actionBody
.
interface
||
!
pobj
.
actionBody
.
interface
.
para
)
{
return
system
.
getResultFail
(
-
101
,
"参数错误"
);
return
system
.
getResultFail
(
-
101
,
"参数错误"
);
}
}
...
@@ -297,7 +297,7 @@ class OrderInfoService extends ServiceBase {
...
@@ -297,7 +297,7 @@ class OrderInfoService extends ServiceBase {
return
corder
;
return
corder
;
}
}
async
orderPayNotify
(
pobj
)
{
async
orderPayNotify
dev
(
pobj
)
{
if
(
!
pobj
.
actionBody
.
interface
||
!
pobj
.
actionBody
.
interface
.
para
)
{
if
(
!
pobj
.
actionBody
.
interface
||
!
pobj
.
actionBody
.
interface
.
para
)
{
return
system
.
getResultFail
(
-
101
,
"参数错误"
);
return
system
.
getResultFail
(
-
101
,
"参数错误"
);
}
}
...
@@ -625,6 +625,7 @@ class OrderInfoService extends ServiceBase {
...
@@ -625,6 +625,7 @@ class OrderInfoService extends ServiceBase {
sql
+=
" and price_name like :priceName;"
;
sql
+=
" and price_name like :priceName;"
;
}
}
var
txprice
=
await
this
.
customQuery
(
sql
,
sqlobj
);
var
txprice
=
await
this
.
customQuery
(
sql
,
sqlobj
);
console
.
log
(
txprice
,
".....txprice..........."
);
if
(
txprice
&&
txprice
.
length
>
0
)
{
if
(
txprice
&&
txprice
.
length
>
0
)
{
goodsSubType
=
txprice
[
0
].
goodsSubType
;
goodsSubType
=
txprice
[
0
].
goodsSubType
;
pid
=
txprice
[
0
].
pid
;
pid
=
txprice
[
0
].
pid
;
...
...
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