Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Bad
/
exercising
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Bad
2026-06-17 18:07:40 +0800
Commit
1a59e9984c07029ebf77c8376779e3ef2b8ea61d
1 parent
2722d47a
修改配置
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
33 deletions
.env
manifest.json
sheep/request/index.js
vite.config.js
.env
View file @
1a59e99
...
...
@@ -4,11 +4,11 @@ SHOPRO_VERSION=v2.4.1
# 后端接口 - 正式环境(通过 process.env.NODE_ENV 非 development)
# SHOPRO_BASE_URL=http://api-dashboard.yudao.iocoder.cn
# SHOPRO_BASE_URL=http://mall.hcxtec.com
SHOPRO_BASE_URL=https://xunji.geaktec.com
# 后端接口 - 测试环境(通过 process.env.NODE_ENV = development)
#SHOPRO_DEV_BASE_URL=http://192.168.1.200:48081
# SHOPRO_DEV_BASE_URL=http://192.168.1.85:48080
SHOPRO_DEV_BASE_URL=https:/xunji.geaktec.com
SHOPRO_DEV_BASE_URL=https:/
/
xunji.geaktec.com
# SHOPRO_DEV_BASE_URL=http://api-dashboard.yudao.iocoder.cn/
### SHOPRO_DEV_BASE_URL=http://10.171.1.188:48080
### SHOPRO_DEV_BASE_URL = http://yunai.natapp1.cc
...
...
manifest.json
View file @
1a59e99
{
"name"
:
"智能健身"
,
"appid"
:
"__UNI__7CAA18B
"
,
"appid"
:
"__UNI__8F24C84
"
,
"description"
:
"基于 uni-app + Vue3 技术驱动的在线商城系统,内含诸多功能与丰富的活动,期待您的使用和反馈。"
,
"versionName"
:
"2025.10"
,
"versionCode"
:
"183"
,
...
...
@@ -68,10 +68,7 @@
"schemes"
:
"shopro"
},
"ios"
:
{
"urlschemewhitelist"
:
[
"baidumap"
,
"iosamap"
],
"urlschemewhitelist"
:
[
"baidumap"
,
"iosamap"
],
"dSYMs"
:
false
,
"privacyDescription"
:
{
"NSPhotoLibraryUsageDescription"
:
"需要同意访问您的相册选取图片才能完善该条目"
,
...
...
@@ -82,9 +79,7 @@
"urltypes"
:
"shopro"
,
"capabilities"
:
{
"entitlements"
:
{
"com.apple.developer.associated-domains"
:
[
"applinks:shopro.sheepjs.com"
]
"com.apple.developer.associated-domains"
:
[
"applinks:shopro.sheepjs.com"
]
}
},
"idfa"
:
true
...
...
@@ -102,18 +97,12 @@
},
"payment"
:
{
"weixin"
:
{
"__platform__"
:
[
"ios"
,
"android"
],
"__platform__"
:
[
"ios"
,
"android"
],
"appid"
:
"wxae7a0c156da9383b"
,
"UniversalLinks"
:
"https://shopro.sheepjs.com/uni-universallinks/__UNI__082C0BA/"
},
"alipay"
:
{
"__platform__"
:
[
"ios"
,
"android"
]
"__platform__"
:
[
"ios"
,
"android"
]
}
},
"share"
:
{
...
...
@@ -123,9 +112,7 @@
}
}
},
"orientation"
:
[
"portrait-primary"
],
"orientation"
:
[
"portrait-primary"
],
"splashscreen"
:
{
"androidStyle"
:
"common"
,
"iosStyle"
:
"common"
,
...
...
@@ -169,11 +156,9 @@
"quickapp-native"
:
{
"icon"
:
"/static/logo.png"
,
"package"
:
"com.example.demo"
,
"features"
:
[
{
"features"
:
[{
"name"
:
"system.clipboard"
}
]
}]
},
"quickapp-webview"
:
{
"icon"
:
"/static/logo.png"
,
...
...
@@ -200,10 +185,7 @@
"desc"
:
"你的位置信息将用于展示附近的服务"
}
},
"requiredPrivateInfos"
:
[
"chooseAddress"
,
"getLocation"
],
"requiredPrivateInfos"
:
[
"chooseAddress"
,
"getLocation"
],
"mergeVirtualHostAttributes"
:
true
},
"mp-alipay"
:
{
...
...
sheep/request/index.js
View file @
1a59e99
...
...
@@ -29,13 +29,11 @@ const options = {
isToken
:
true
,
};
/** 登录页路径 */
const
LOGIN_PAGE
=
'/pages7/pages/index/login'
;
/** 跳转到登录页(navigateTo 失败时 reLaunch,避免页面栈异常) */
function
navigateToLogin
()
{
uni
.
navigateTo
({
url
:
LOGIN_PAGE
,
url
:
'/pages7/pages/index/login'
,
fail
:
()
=>
{
uni
.
reLaunch
({
url
:
'/pages/xunji/xunji'
});
},
...
...
vite.config.js
View file @
1a59e99
...
...
@@ -8,7 +8,7 @@ import uniReadPagesV3Plugin from './sheep/router/utils/uni-read-pages-v3';
import
mpliveMainfestPlugin
from
'./sheep/libs/mplive-manifest-plugin'
;
// https://vitejs.dev/config/
export
default
(
command
,
mode
)
=>
{
export
default
(
{
command
,
mode
}
)
=>
{
const
env
=
loadEnv
(
mode
,
__dirname
,
'SHOPRO_'
);
return
{
envPrefix
:
'SHOPRO_'
,
...
...
Please
register
or
login
to post a comment