lrf402788946 4 роки тому
батько
коміт
06107101cc
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      app/service/util/http-util.js

+ 1 - 0
app/service/util/http-util.js

@@ -73,6 +73,7 @@ class UtilService extends AxiosService {
     const headers = { 'content-type': 'application/json' };
     let url = this.merge(`${uri}`, options.params);
     if (!url.includes('http')) url = `http://localhost${url}`;
+    console.log(url);
     let res = await this.ctx.curl(url, {
       method: isNullOrUndefined(data) ? 'get' : 'post',
       url,