Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mini_own
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
geruidan
mini_own
Commits
5fdf7f31
Commit
5fdf7f31
authored
Apr 17, 2023
by
小耗子
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
缓存设置
parent
c3f4a9bc
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
7 deletions
+10
-7
env.js
env.js
+5
-3
manifest.json
manifest.json
+2
-2
md.md
md.md
+1
-1
pages/index/defalutScreen.vue
pages/index/defalutScreen.vue
+1
-0
shopro/store/modules/user.js
shopro/store/modules/user.js
+1
-1
No files found.
env.js
View file @
5fdf7f31
...
...
@@ -3,12 +3,14 @@
*/
// export const BASE_URL = 'http://172.18.0.229:9001' //后台根域名 https://demo.shopro.top
export
const
BASE_URL
=
'
https://wx
cs
.zhonghuihaotai.com
'
//后台根域名 https://demo.shopro.top
export
const
BASE_URL
=
'
https://wx.zhonghuihaotai.com
'
//后台根域名 https://demo.shopro.top
// export const BASE_URL = 'https://wxcs.zhonghuihaotai.com' //后台根域名 https://demo.shopro.top
export
const
API_URL
=
`
${
BASE_URL
}
/api/a1/`
//后台接口域名
export
const
IMG_URL
=
'
http://file.shopro.top
'
//全局网络图片地址变量,css背景图片地址变量在uni.scss
export
const
MAP_KEY
=
'
426ebc3f1bbaced***89ee6061a98
'
;
//高德地图开发者Web服务key,逆坐标解析
export
const
HAS_LIVE
=
false
//后台是否开通直播权限,根据情况在manifest.json中,开启注释相应组件的引入,pages.json中打开直播
// http://172.18.1.66:9001/api/a1/mall/homePage/mp?code={前端传入的code}
export
const
MALL_ID
=
"
119583623123146
"
;
export
const
COMPANY_ID
=
"
625
"
;
export
const
MALL_ID
=
"
101656910000414
"
;
export
const
COMPANY_ID
=
"
0210010
"
;
\ No newline at end of file
manifest.json
View file @
5fdf7f31
...
...
@@ -54,10 +54,10 @@
"quickapp"
:
{},
/*
小程序特有相关
*/
"mp-weixin"
:
{
"appid"
:
"wx9
1fa336def077983
"
,
"appid"
:
"wx9
4a3f5be1ea552ec
"
,
"setting"
:
{
"urlCheck"
:
false
,
"minified"
:
tru
e
"minified"
:
fals
e
},
"usingComponents"
:
true
,
"permission"
:
{
...
...
md.md
View file @
5fdf7f31
...
...
@@ -28,7 +28,7 @@ AppSecret(小程序密钥) :aafbb74ee3e6dcc1c567d6c6ac721870
```
### 无步数商城小程序 :正式
### 无步数商城小程序 :正式
中汇豪泰小程序
```
商城:189099911100589
企业:20230328
...
...
pages/index/defalutScreen.vue
View file @
5fdf7f31
...
...
@@ -134,6 +134,7 @@
// uni.hideTabBar();
},
onReady
()
{
wx
.
clearStorage
();
this
.
getAuth
();
},
onShareAppMessage
(
res
){
...
...
shopro/store/modules/user.js
View file @
5fdf7f31
...
...
@@ -49,7 +49,7 @@ const actions = {
code
:
code
,
mallId
:
state
.
mallId
}).
then
(
res
=>
{
if
(
!
res
.
code
)
{
if
(
res
.
code
==
0
)
{
let
{
sessionKey
}
=
res
.
data
;
uni
.
setStorageSync
(
"
sessionKey
"
,
sessionKey
)
commit
(
'
userInfo
'
,
res
.
data
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment