更新专业版对接的测试接口地址。

This commit is contained in:
jianweie code
2024-08-31 00:23:23 +08:00
parent 780a3f43ca
commit 93f1bfb045
2 changed files with 175 additions and 176 deletions

View File

@@ -4,7 +4,7 @@
*/ */
//接口请求地址如果需要不部署接口端的情况下测试uni-app可以直接替换为官方测试接口https://api.demo.coreshop.cn //接口请求地址如果需要不部署接口端的情况下测试uni-app可以直接替换为官方测试接口https://api.demo.coreshop.cn
export const apiBaseUrl = process.env.NODE_ENV === 'development' ? 'https://api.test.pro.coreshop.cn' : 'https://api.test.pro.coreshop.cn'; export const apiBaseUrl = process.env.NODE_ENV === 'development' ? 'https://api.pro.demo.corecms.cn' : 'https://api.pro.demo.corecms.cn';
//项目静态资源请求地址如果使用官方的静态文件地址可以直接替换为https://files.cdn.coreshop.cn //项目静态资源请求地址如果使用官方的静态文件地址可以直接替换为https://files.cdn.coreshop.cn
export const apiFilesUrl = 'https://files.cdn.coreshop.cn'; export const apiFilesUrl = 'https://files.cdn.coreshop.cn';

View File

@@ -1,23 +1,23 @@
{ {
"name": "核心商城系统", "name" : "核心商城系统",
"appid": "__UNI__EAACF14", "appid" : "__UNI__EAACF14",
"description": "核心商城系统CoreShop是基于uni-app框架开发的商城应用程序", "description" : "核心商城系统CoreShop是基于uni-app框架开发的商城应用程序",
"versionName": "1.0", "versionName" : "1.0",
"versionCode": 1, "versionCode" : 1,
"transformPx": false, "transformPx" : false,
"app-plus": { "app-plus" : {
/* 5+App */ /* 5+App */
"modules": { "modules" : {
"Payment": {}, "Payment" : {},
"VideoPlayer": {}, "VideoPlayer" : {},
"Maps": {} "Maps" : {}
}, },
/* */ /* */
"distribute": { "distribute" : {
/* */ /* */
"android": { "android" : {
/* android */ /* android */
"permissions": [ "permissions" : [
"<uses-feature android:name=\"android.hardware.camera\"/>", "<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>", "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>", "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
@@ -43,144 +43,143 @@
"<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>", "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>" "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
], ],
"abiFilters": [ "armeabi-v7a", "arm64-v8a", "x86" ] "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ]
}, },
"ios": {}, "ios" : {},
/* ios */ /* ios */
"sdkConfigs": { "sdkConfigs" : {
"payment": { "payment" : {
"weixin": { "weixin" : {
"appid": "wx11d95cdaee6058f6" "appid" : "wx11d95cdaee6058f6"
} }
}, },
"ad": {}, "ad" : {},
"maps": { "maps" : {
"amap": { "amap" : {
"appkey_ios": "91b94ecb48605c4e048aa1971459eca7", "appkey_ios" : "91b94ecb48605c4e048aa1971459eca7",
"appkey_android": "91b94ecb48605c4e048aa1971459eca7" "appkey_android" : "91b94ecb48605c4e048aa1971459eca7"
} }
}, },
"oauth": { "oauth" : {
"univerify": {} "univerify" : {}
}, },
"share": {} "share" : {}
}, },
"icons": { "icons" : {
"android": { "android" : {
"hdpi": "", "hdpi" : "",
"xhdpi": "", "xhdpi" : "",
"xxhdpi": "", "xxhdpi" : "",
"xxxhdpi": "" "xxxhdpi" : ""
}, },
"ios": { "ios" : {
"appstore": "", "appstore" : "",
"ipad": { "ipad" : {
"app": "", "app" : "",
"app@2x": "", "app@2x" : "",
"notification": "", "notification" : "",
"notification@2x": "", "notification@2x" : "",
"proapp@2x": "", "proapp@2x" : "",
"settings": "", "settings" : "",
"settings@2x": "", "settings@2x" : "",
"spotlight": "", "spotlight" : "",
"spotlight@2x": "" "spotlight@2x" : ""
}, },
"iphone": { "iphone" : {
"app@2x": "", "app@2x" : "",
"app@3x": "", "app@3x" : "",
"notification@2x": "", "notification@2x" : "",
"notification@3x": "", "notification@3x" : "",
"settings@2x": "", "settings@2x" : "",
"settings@3x": "", "settings@3x" : "",
"spotlight@2x": "", "spotlight@2x" : "",
"spotlight@3x": "" "spotlight@3x" : ""
} }
} }
} }
}, },
"splashscreen": { "splashscreen" : {
"waiting": true "waiting" : true
} }
}, },
/* SDK */ /* SDK */
"quickapp": {}, "quickapp" : {},
/* */ /* */
"mp-weixin": { "mp-weixin" : {
"appid": "wx6a73f5a508da7af2", "appid" : "wx6a73f5a508da7af2",
"setting": { "setting" : {
"urlCheck": true, "urlCheck" : true,
"postcss": true, "postcss" : true,
"minified": true, "minified" : true,
"es6": true, "es6" : true,
"checkSiteMap": false "checkSiteMap" : false
}, },
"plugins": { "plugins" : {
"chooseLocation": { "chooseLocation" : {
"version": "1.0.10", "version" : "1.0.10",
"provider": "wx76a9a06e5b4e693e" //这个appid不要改用默认是的[wx76a9a06e5b4e693e],这是组件自己的appid不是你小程序的appid "provider" : "wx76a9a06e5b4e693e" //这个appid不要改用默认是的[wx76a9a06e5b4e693e],这是组件自己的appid不是你小程序的appid
} }
}, },
"permission": { "permission" : {
"scope.userFuzzyLocation": { "scope.userFuzzyLocation" : {
"desc": "你的位置信息将用于小程序定位" "desc" : "你的位置信息将用于小程序定位"
}, },
"scope.userLocation": { "scope.userLocation" : {
"desc": "你的位置信息将用于小程序定位" "desc" : "你的位置信息将用于小程序定位"
} }
}, },
"optimization": { "optimization" : {
"subPackages": true "subPackages" : true
}, },
"requiredPrivateInfos": [ "getFuzzyLocation", "chooseAddress" ], "requiredPrivateInfos" : [ "getFuzzyLocation", "chooseAddress" ],
"libVersion": "latest" "libVersion" : "latest"
}, },
"h5": { "h5" : {
"title": "南山田舍", "title" : "南山田舍",
"domain": "https://h5.demo.coreshop.cn", "domain" : "https://h5.demo.coreshop.cn",
"router": { "router" : {
"base": "./", "base" : "./",
"mode": "hash" "mode" : "hash"
}, },
"template": "index.html", "template" : "index.html",
"devServer": { "devServer" : {
"port": 80, "port" : 80,
"disableHostCheck": true, "disableHostCheck" : true,
"https": true "https" : true
}, },
"sdkConfigs": { "sdkConfigs" : {
"maps": { "maps" : {
"qqmap": { "qqmap" : {
"key": "AEIBZ-H5TRI-A6VGA-5KRNA-QKKK6-JGB33" "key" : "AEIBZ-H5TRI-A6VGA-5KRNA-QKKK6-JGB33"
} }
} }
}, },
"optimization": { "optimization" : {
"treeShaking": { "treeShaking" : {
"enable": false "enable" : false
} }
} }
}, },
"mp-toutiao": { "mp-toutiao" : {
"setting": { "setting" : {
"es6": true, "es6" : true,
"postcss": true, "postcss" : true,
"minified": true "minified" : true
}, },
"appid": "" "appid" : ""
}, },
"mp-qq": { "mp-qq" : {
"setting": { "setting" : {
"es6": true, "es6" : true,
"postcss": true, "postcss" : true,
"minified": true "minified" : true
}, },
"optimization": { "optimization" : {
"subPackages": true "subPackages" : true
} }
}, },
"mp-alipay": { "mp-alipay" : {
"appid": "2021004107611929" "appid" : "2021004107611929"
}, },
"mp-baidu": {} "mp-baidu" : {}
} }