Commit baeff36f authored by 方斌's avatar 方斌

z

parent 10249826
Pipeline #16073 passed with stage
in 46 seconds
...@@ -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 '';
......
...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment