diff --git a/jiuyi2/common/js/config.js b/jiuyi2/common/js/config.js index 92c59f9f..fde225b9 100644 --- a/jiuyi2/common/js/config.js +++ b/jiuyi2/common/js/config.js @@ -2,13 +2,13 @@ const config = { // 接口域名 // #ifdef H5 - host: 'http://localhost:5173', - // host: 'h5api', + // host: 'http://localhost:5173', + host: 'h5api', // #endif // #ifndef H5 - // host: 'http://91f.xyz:8080', + host: 'http://91f.xyz:8080', // host: 'http://192.168.0.110:8080', - host: 'http://192.168.0.100:8080', + // host: 'http://192.168.0.100:8080', // #endif // 支付方式配置 payType: { diff --git a/jiuyi2/vite.config.js b/jiuyi2/vite.config.js index 57ca504a..af5e56dd 100644 --- a/jiuyi2/vite.config.js +++ b/jiuyi2/vite.config.js @@ -4,9 +4,9 @@ import { import uni from '@dcloudio/vite-plugin-uni'; // -// let target = 'http://91f.xyz:8080' +let target = 'http://91f.xyz:8080' // let target = 'http://192.168.0.110:8080' -let target = 'http://192.168.0.100:8080' +// let target = 'http://192.168.0.100:8080' export default defineConfig({ plugins: [uni()],