Browse Source

update

main
kola-web 1 month ago
parent
commit
e800205118
  1. 20
      project.config.json
  2. 16
      project.private.config.json
  3. 11
      src/config.js

20
project.config.json

@ -10,10 +10,23 @@ @@ -10,10 +10,23 @@
"disablePlugins": [],
"outputPath": ""
},
"enhance": true
"enhance": true,
"compileWorklet": false,
"uglifyFileName": false,
"uploadWithSourceMap": true,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true,
"minifyWXML": true,
"localPlugins": false,
"disableUseStrict": false,
"useCompilerPlugins": false,
"condition": false,
"swc": false,
"disableSWC": true
},
"compileType": "miniprogram",
"appid": "wxc06a18569e063fdd",
"appid": "wx75551cb56606869d",
"projectname": "sport2",
"miniprogramRoot": "dist/",
"libVersion": "3.3.4",
@ -26,5 +39,6 @@ @@ -26,5 +39,6 @@
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 4
}
},
"simulatorPluginLibVersion": {}
}

16
project.private.config.json

@ -3,7 +3,21 @@ @@ -3,7 +3,21 @@
"projectname": "sport2",
"setting": {
"compileHotReLoad": true,
"urlCheck": true
"urlCheck": true,
"coverView": false,
"lazyloadPlaceholderEnable": false,
"skylineRenderEnable": false,
"preloadBackgroundData": false,
"autoAudits": false,
"useApiHook": true,
"useApiHostProcess": true,
"showShadowRootInWxmlPanel": false,
"useStaticServer": false,
"useLanDebug": false,
"showES6CompileOption": false,
"checkInvalidKey": true,
"ignoreDevUnusedFiles": true,
"bigPackageSizeSupport": false
},
"condition": {
"miniprogram": {

11
src/config.js

@ -9,8 +9,15 @@ export default { @@ -9,8 +9,15 @@ export default {
: 'https://nn-dp.chinacloudsites.cn/api';
}
// 开发环境 appid:wxc06a18569e063fdd
// return __PRO__
// ? 'https://app.diabetes.hbraas.com'
// : 'https://app.diabetes.hbraas.com';
// UAT环境 appid:wx75551cb56606869d
console.log(__PRO__)
return __PRO__
? 'https://app.diabetes.hbraas.com'
: 'https://app.diabetes.hbraas.com';
? 'https://apptest.diabetes.com.cn'
: 'https://apptest.diabetes.com.cn';
}
};

Loading…
Cancel
Save