后端模块修改

This commit is contained in:
aiShuiJiaoDeXioShou 2024-09-19 08:02:22 +08:00
parent f4d0b4365a
commit b4ee41b80b
2 changed files with 109 additions and 35 deletions

10
acdr-ui/env/.env vendored
View File

@ -1,16 +1,18 @@
VITE_APP_TITLE = '宠屋' VITE_APP_TITLE = '宠屋'
VITE_APP_PORT = 8081 VITE_APP_PORT = 8081
VITE_UNI_APPID = 'H57F2ACE4' VITE_UNI_APPID = '__UNI__D748B51'
VITE_WX_APPID = 'wxf2c6d4b7361366b4' VITE_WX_APPID = 'wxf2c6d4b7361366b4'
# h5部署网站的base配置到 manifest.config.ts 里的 h5.router.base # h5部署网站的base配置到 manifest.config.ts 里的 h5.router.base
VITE_APP_PUBLIC_BASE=/acdr/ VITE_APP_PUBLIC_BASE=/acdr/
VITE_FALLBACK_LOCALE=zh-Hans
# VITE_SERVER_BASEURL = 'http://47.99.70.12:28184/api' # VITE_SERVER_BASEURL = 'http://47.99.70.12:28184/api'
# VITE_UPLOAD_BASEURL = 'http://47.99.70.12:28184' # VITE_UPLOAD_BASEURL = 'http://47.99.70.12:28184'
# VITE_SERVER_BASEURL = 'http://localhost:28184/api' # VITE_SERVER_BASEURL = 'http://localhost:28184/api'
VITE_SERVER_BASEURL = 'http://localhost:48080/app-api' # VITE_SERVER_BASEURL = 'http://localhost:48080/app-api'
VITE_SERVER_BASEURL = 'http://47.99.70.12:48080/app-api'
# VITE_WS_BASEURL = 'ws://47.99.70.12:28184/api' # VITE_WS_BASEURL = 'ws://47.99.70.12:28184/api'
VITE_UPLOAD_BASEURL = 'http://localhost:28184' VITE_UPLOAD_BASEURL = 'http://localhost:28184'
VITE_OSS_BASEURL = 'http://116.204.119.171:9000/linghe' VITE_OSS_BASEURL = 'http://116.204.119.171:9000/linghe'
@ -26,8 +28,8 @@ SHOPRO_VERSION = v1.8.3
SHOPRO_BASE_URL = http://api-dashboard.yudao.iocoder.cn SHOPRO_BASE_URL = http://api-dashboard.yudao.iocoder.cn
# 后端接口 - 测试环境(通过 process.env.NODE_ENV = development # 后端接口 - 测试环境(通过 process.env.NODE_ENV = development
SHOPRO_DEV_BASE_URL = http://127.0.0.1:48080 # SHOPRO_DEV_BASE_URL = http://127.0.0.1:48080
# SHOPRO_DEV_BASE_URL = http://47.99.70.12:48080 SHOPRO_DEV_BASE_URL = http://47.99.70.12:48080
### SHOPRO_DEV_BASE_URL = http://yunai.natapp1.cc ### SHOPRO_DEV_BASE_URL = http://yunai.natapp1.cc
# 后端接口前缀(一般不建议调整) # 后端接口前缀(一般不建议调整)

View File

@ -1,7 +1,7 @@
{ {
"name": "宠屋", "name": "宠屋",
"appid": "__UNI__9D479DC", "appid": "__UNI__9D479DC",
"description": "", "description": "宠物一站式开发平台",
"versionName": "1.0.0", "versionName": "1.0.0",
"versionCode": "100", "versionCode": "100",
"transformPx": false, "transformPx": false,
@ -13,9 +13,28 @@
"alwaysShowBeforeRender": true, "alwaysShowBeforeRender": true,
"waiting": true, "waiting": true,
"autoclose": true, "autoclose": true,
"delay": 0 "delay": 0,
"androidStyle": "default",
"android": {
"hdpi": "src/static/start_bg.png",
"xhdpi": "src/static/start_bg.png",
"xxhdpi": "src/static/start_bg.png"
},
"useOriginalMsgbox": true,
"iosStyle": "common"
},
"modules": {
"Barcode": {},
"Bluetooth": {},
"Camera": {},
"Contacts": {},
"Fingerprint": {},
"Geolocation": {},
"Maps": {},
"SQLite": {},
"Payment": {},
"Webview-x5": {}
}, },
"modules": {},
"distribute": { "distribute": {
"android": { "android": {
"permissions": [ "permissions": [
@ -43,36 +62,68 @@
] ]
}, },
"ios": {}, "ios": {},
"sdkConfigs": {}, "sdkConfigs": {
"payment": {
"alipay": {
"__platform__": [
"ios",
"android"
]
}
},
"geolocation": {
"amap": {
"name": "amapCIxLx5gHo",
"__platform__": [
"android"
],
"appkey_ios": "",
"appkey_android": "92219e40234c2046f50cb72a1a86e4f7"
},
"system": {
"__platform__": [
"ios",
"android"
]
}
},
"maps": {
"amap": {
"name": "amapCIxLx5gHo",
"appkey_ios": "92219e40234c2046f50cb72a1a86e4f7",
"appkey_android": "92219e40234c2046f50cb72a1a86e4f7"
}
}
},
"icons": { "icons": {
"android": { "android": {
"hdpi": "static/app/icons/72x72.png", "hdpi": "unpackage/res/icons/72x72.png",
"xhdpi": "static/app/icons/96x96.png", "xhdpi": "unpackage/res/icons/96x96.png",
"xxhdpi": "static/app/icons/144x144.png", "xxhdpi": "unpackage/res/icons/144x144.png",
"xxxhdpi": "static/app/icons/192x192.png" "xxxhdpi": "unpackage/res/icons/192x192.png"
}, },
"ios": { "ios": {
"appstore": "static/app/icons/1024x1024.png", "appstore": "unpackage/res/icons/1024x1024.png",
"ipad": { "ipad": {
"app": "static/app/icons/76x76.png", "app": "unpackage/res/icons/76x76.png",
"app@2x": "static/app/icons/152x152.png", "app@2x": "unpackage/res/icons/152x152.png",
"notification": "static/app/icons/20x20.png", "notification": "unpackage/res/icons/20x20.png",
"notification@2x": "static/app/icons/40x40.png", "notification@2x": "unpackage/res/icons/40x40.png",
"proapp@2x": "static/app/icons/167x167.png", "proapp@2x": "unpackage/res/icons/167x167.png",
"settings": "static/app/icons/29x29.png", "settings": "unpackage/res/icons/29x29.png",
"settings@2x": "static/app/icons/58x58.png", "settings@2x": "unpackage/res/icons/58x58.png",
"spotlight": "static/app/icons/40x40.png", "spotlight": "unpackage/res/icons/40x40.png",
"spotlight@2x": "static/app/icons/80x80.png" "spotlight@2x": "unpackage/res/icons/80x80.png"
}, },
"iphone": { "iphone": {
"app@2x": "static/app/icons/120x120.png", "app@2x": "unpackage/res/icons/120x120.png",
"app@3x": "static/app/icons/180x180.png", "app@3x": "unpackage/res/icons/180x180.png",
"notification@2x": "static/app/icons/40x40.png", "notification@2x": "unpackage/res/icons/40x40.png",
"notification@3x": "static/app/icons/60x60.png", "notification@3x": "unpackage/res/icons/60x60.png",
"settings@2x": "static/app/icons/58x58.png", "settings@2x": "unpackage/res/icons/58x58.png",
"settings@3x": "static/app/icons/87x87.png", "settings@3x": "unpackage/res/icons/87x87.png",
"spotlight@2x": "static/app/icons/80x80.png", "spotlight@2x": "unpackage/res/icons/80x80.png",
"spotlight@3x": "static/app/icons/120x120.png" "spotlight@3x": "unpackage/res/icons/120x120.png"
} }
} }
} }
@ -85,7 +136,9 @@
"mp-weixin": { "mp-weixin": {
"appid": "wxf2c6d4b7361366b4", "appid": "wxf2c6d4b7361366b4",
"setting": { "setting": {
"urlCheck": false "urlCheck": false,
"minified": true,
"es6": true
}, },
"usingComponents": true, "usingComponents": true,
"requiredPrivateInfos": [ "requiredPrivateInfos": [
@ -113,18 +166,37 @@
"enable": false "enable": false
}, },
"vueVersion": "3", "vueVersion": "3",
"locale": "zh-Hans",
"h5": { "h5": {
"router": { "router": {
"base": "/acdr/" "base": "/acdr/"
}, },
"sdkConfigs": { "sdkConfigs": {
"geolocation": {
"system": {
"__platform__": [
"ios",
"android"
]
},
"amap": {
"name": "amapCIxLx5gHo",
"__platform__": [
"android"
],
"appkey_ios": "",
"appkey_android": "92219e40234c2046f50cb72a1a86e4f7"
}
},
"maps": { "maps": {
"amap": { "amap": {
"key": "5a270020f3c6b67887c493a416ebd3ad", "name": "amapCIxLx5gHo",
"securityJsCode": "3eabbc7e073e650ae2b1f213f8357422", "appkey_ios": "92219e40234c2046f50cb72a1a86e4f7",
"serviceHost": "" "appkey_android": "92219e40234c2046f50cb72a1a86e4f7"
}
} }
},
"oauth": {},
"share": {}
} }
} }
} }