Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
5
51business
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
方斌
51business
Commits
350c53ec
Commit
350c53ec
authored
Sep 27, 2019
by
李尚科
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
9bba24f7
Pipeline
#14382
passed with stage
in 37 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
order.js
app/controller/credit/order.js
+1
-1
option.js
app/service/course/option.js
+3
-3
apply.js
app/service/credit/apply.js
+1
-1
No files found.
app/controller/credit/order.js
View file @
350c53ec
...
...
@@ -34,7 +34,7 @@ class OrderController extends Controller {
const
{
method
,
order_id
,
reject_url
}
=
input_params
;
let
result
=
await
ctx
.
service
.
credit
.
order
.
unifiedOrder
(
method
,
order_id
);
// result.reject_url = reject_url;
result
.
url
=
`
${
result
.
url
}
&
redirect_url=
${
reject_url
}
#shanp.com
`
;
result
.
url
=
`
${
result
.
url
}
&
py=shanp.com&redirect_url=
${
reject_url
}
`
;
ctx
.
success
({
result
});
}
...
...
app/service/course/option.js
View file @
350c53ec
...
...
@@ -34,7 +34,7 @@ class OptionService extends Service {
const
{
ctx
}
=
this
;
const
cats
=
await
ctx
.
classModel
.
CourseCat
.
all
({
where
:
{
status
:
1
,
is_deleted
:
0
}
});
const
tree_cats
=
this
.
getTrees
(
cats
,
0
);
const
options
=
{
cats
:
tree_cats
,
ages
:
AGE_CATS
,
...
...
@@ -49,7 +49,7 @@ class OptionService extends Service {
const
node
=
data
[
i
];
if
(
node
.
parent_id
==
rootId
)
{
const
newNode
=
{};
//
ret.push({ id: 0, name: '全部', value: '' });
if
(
node
.
parent_id
!==
0
)
ret
.
push
({
id
:
0
,
name
:
'全部'
,
value
:
''
});
newNode
.
id
=
node
.
id
;
newNode
.
name
=
node
.
name
;
newNode
.
tips
=
node
.
tips
;
...
...
@@ -63,7 +63,7 @@ class OptionService extends Service {
}
return
ret
;
}
}
module
.
exports
=
OptionService
;
app/service/credit/apply.js
View file @
350c53ec
...
...
@@ -341,7 +341,7 @@ class ApplyService extends Service {
let
report_id
=
null
;
//数盒魔方三要素校验
// await ctx.service.credit.callrisk.checkThreeElements(input);
await
ctx
.
service
.
credit
.
common
.
shuhemofangCheck
(
'callrisk'
,
input
);
//
await ctx.service.credit.common.shuhemofangCheck('callrisk', input);
//判断用户当前三要素是否是二次查询未支付订单
const
check_second_ret
=
await
this
.
checkSecond
({
name
,
phone
,
id_card
});
...
...
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