lrf402788946 4 лет назад
Родитель
Сommit
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,