Browse Source

update

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

68
project.config.json

@ -1,30 +1,44 @@ @@ -1,30 +1,44 @@
{
"description": "糖友运动",
"setting": {
"urlCheck": true,
"es6": true,
"postcss": true,
"minified": false,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"enhance": true
"description": "糖友运动",
"setting": {
"urlCheck": true,
"es6": true,
"postcss": true,
"minified": false,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"compileType": "miniprogram",
"appid": "wxc06a18569e063fdd",
"projectname": "sport2",
"miniprogramRoot": "dist/",
"libVersion": "3.3.4",
"srcMiniprogramRoot": "dist/",
"packOptions": {
"ignore": [],
"include": []
},
"condition": {},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 4
}
"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": "wx75551cb56606869d",
"projectname": "sport2",
"miniprogramRoot": "dist/",
"libVersion": "3.3.4",
"srcMiniprogramRoot": "dist/",
"packOptions": {
"ignore": [],
"include": []
},
"condition": {},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 4
},
"simulatorPluginLibVersion": {}
}

52
project.private.config.json

@ -1,22 +1,36 @@ @@ -1,22 +1,36 @@
{
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"projectname": "sport2",
"setting": {
"compileHotReLoad": true,
"urlCheck": true
},
"condition": {
"miniprogram": {
"list": [
{
"name": "pages/index",
"pathName": "pages/index",
"query": "scene=wid%3Da000025f",
"launchMode": "default",
"scene": null
}
]
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"projectname": "sport2",
"setting": {
"compileHotReLoad": 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": {
"list": [
{
"name": "pages/index",
"pathName": "pages/index",
"query": "scene=wid%3Da000025f",
"launchMode": "default",
"scene": null
}
},
"libVersion": "3.3.4"
]
}
},
"libVersion": "3.3.4"
}

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';
}
};

2
src/project.config.json

@ -25,4 +25,4 @@ @@ -25,4 +25,4 @@
"tabIndent": "insertSpaces",
"tabSize": 2
}
}
}

Loading…
Cancel
Save