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
daef6bc3
Commit
daef6bc3
authored
Aug 19, 2019
by
任国军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove loan_list commonLoan
parent
1eed7e4f
Pipeline
#12438
passed with stage
in 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
product.js
app/service/gjj/product.js
+2
-3
No files found.
app/service/gjj/product.js
View file @
daef6bc3
...
@@ -94,9 +94,8 @@ class ProductService extends Service {
...
@@ -94,9 +94,8 @@ class ProductService extends Service {
id
:
-
3
,
id
:
-
3
,
title
:
'最适合您的'
,
title
:
'最适合您的'
,
quality
:
await
this
.
getSuitLoans
(),
quality
:
await
this
.
getSuitLoans
(),
normal
:
common_loans_ids
,
normal
:
[]
,
});
});
}
else
{
}
else
{
children
.
push
({
children
.
push
({
id
:
-
4
,
id
:
-
4
,
...
@@ -135,7 +134,7 @@ class ProductService extends Service {
...
@@ -135,7 +134,7 @@ class ProductService extends Service {
const
{
ctx
}
=
this
;
const
{
ctx
}
=
this
;
const
url
=
this
.
config
.
NODE_BASE_URL
+
'/cassandra-server/bu_basic/list'
;
const
url
=
this
.
config
.
NODE_BASE_URL
+
'/cassandra-server/bu_basic/list'
;
const
products_results
=
await
ctx
.
helper
.
send_request
(
url
,
{
type
,
app_id
:
ctx
.
appId
},
{
method
:
'GET'
});
const
products_results
=
await
ctx
.
helper
.
send_request
(
url
,
{
type
,
app_id
:
ctx
.
appId
},
{
method
:
'GET'
});
// ctx.logger.info(JSON.stringify({ url, products_results }));
// ctx.logger.info(JSON.stringify({ url, products_results }));
let
products
=
[];
let
products
=
[];
if
(
products_results
.
status
!==
200
||
!
products_results
.
data
||
!
products_results
.
data
.
ret
)
{
if
(
products_results
.
status
!==
200
||
!
products_results
.
data
||
!
products_results
.
data
.
ret
)
{
...
...
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