接口相关调整

这个提交包含在:
徐勤民 2024-10-15 15:58:40 +08:00
父节点 6f24d6a1b4
当前提交 6d3e87a5ed
共有 2 个文件被更改,包括 3 次插入2 次删除

查看文件

@ -2,8 +2,8 @@
* Use these variables when you tailor your ArkTS code. They must be of the const type. * Use these variables when you tailor your ArkTS code. They must be of the const type.
*/ */
export const HAR_VERSION = '1.0.3'; export const HAR_VERSION = '1.0.3';
export const BUILD_MODE_NAME = 'release'; export const BUILD_MODE_NAME = 'debug';
export const DEBUG = false; export const DEBUG = true;
export const TARGET_NAME = 'default'; export const TARGET_NAME = 'default';
/** /**

查看文件

@ -221,6 +221,7 @@ export class HttpHelper {
...params.headers ...params.headers
} }
console.log('=====>', 'GET:', this.getUrl(params.url, params.query)) console.log('=====>', 'GET:', this.getUrl(params.url, params.query))
console.log('=====>', 'header:', JSON.stringify(header))
httpRequest.request(this.getUrl(params.url, params.query), { httpRequest.request(this.getUrl(params.url, params.query), {
method: http.RequestMethod.GET, method: http.RequestMethod.GET,