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,