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
baeff36f
Commit
baeff36f
authored
Nov 09, 2019
by
方斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
z
parent
10249826
Pipeline
#16073
passed with stage
in 46 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
helper.js
app/extend/helper.js
+1
-1
product.js
app/service/gjj/product.js
+1
-1
No files found.
app/extend/helper.js
View file @
baeff36f
...
@@ -185,7 +185,7 @@ module.exports = {
...
@@ -185,7 +185,7 @@ module.exports = {
async
parseIp
()
{
async
parseIp
()
{
let
ip
=
this
.
getClientIP
();
let
ip
=
this
.
getClientIP
();
//
//
ip
=
'122.224.130.226'
;
//
ip = '122.224.130.226';
if
(
!
ip
)
{
if
(
!
ip
)
{
return
''
;
return
''
;
...
...
app/service/gjj/product.js
View file @
baeff36f
...
@@ -132,7 +132,7 @@ class ProductService extends Service {
...
@@ -132,7 +132,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
:
'DE78A9AC-0407-4998-AE4D-B7F5A64EAC19'
},
{
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
=
[];
console
.
log
(
products_results
)
console
.
log
(
products_results
)
...
...
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