From e5dc4e506100748773f5b928902cf9912b130f46 Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期一, 24 七月 2023 15:08:09 +0800 Subject: [PATCH] no message --- h5/apph5/request/index.js | 5 +++-- .gitignore | 3 ++- h5/apph5/manifest.json | 3 +++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index a43f6e5..c7fa9bb 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,5 @@ node_modules /uniapp/unpackage/* runtime/log/* -/application/extra/* \ No newline at end of file +/application/extra/* +h5/apph5/unpackage/dist/build/ diff --git a/h5/apph5/manifest.json b/h5/apph5/manifest.json index 7873e4e..d4cffd2 100644 --- a/h5/apph5/manifest.json +++ b/h5/apph5/manifest.json @@ -72,6 +72,9 @@ "h5" : { "router" : { "mode" : "history" + }, + "devServer" : { + "https" : false } } } diff --git a/h5/apph5/request/index.js b/h5/apph5/request/index.js index d06e2d2..6801d0e 100644 --- a/h5/apph5/request/index.js +++ b/h5/apph5/request/index.js @@ -1,7 +1,8 @@ export default class Request{ http(param) { - let postUrl="http://dfg.shop.com"; - let url = param.url; + //let postUrl="http://dfg.shop.com"; + let postUrl=""; + let url = param.url; let method = param.method; let header = param.header || {}; //let data = Object.assign(param.data || {}); -- Gitblit v1.9.3