Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
points-mall
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a3787dc8
authored
Sep 04, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
c0e0b0e7
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
139 additions
and
379 deletions
components/Adress/index.scss
components/Adress/index.wxml
components/EnableWallet/EnableWallet.js
components/GoodsAction/GoodsAction.js
packageIndex/pages/goodsDetail/index.js
packageIndex/pages/goodsDetail/index.wxml
packageMine/pages/address/index/index.scss
packageMine/pages/address/index/index.wxml
pages/Login/Login.js
pages/chooseMerchant/index.js
components/Adress/index.scss
View file @
a3787dc
...
@@ -112,6 +112,19 @@
...
@@ -112,6 +112,19 @@
background
:
#EFF0F2
;
background
:
#EFF0F2
;
}
}
}
}
.nothing
{
height
:
100%
;
display
:
flex
;
flex-flow
:
column
;
align-items
:
center
;
justify-content
:
center
;
color
:
#7A8299
;
.icon
{
width
:
320rpx
;
height
:
300rpx
;
margin-bottom
:
20rpx
;
}
}
}
}
.footer
{
.footer
{
...
...
components/Adress/index.wxml
View file @
a3787dc
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<glsx-image bind:tap="cancel" webp class="icon" src="/index/close.png"></glsx-image>
<glsx-image bind:tap="cancel" webp class="icon" src="/index/close.png"></glsx-image>
</view>
</view>
<view class="list-pannel">
<view class="list-pannel">
<scroll-view class="scroll" scroll-y="{{true}}">
<scroll-view class="scroll" scroll-y="{{true}}"
wx:if="{{address.length}}"
>
<block wx:for="{{address}}" wx:key="index">
<block wx:for="{{address}}" wx:key="index">
<view bind:tap="toSelect" data-item="{{item}}" data-index="{{index}}" class="cell">
<view bind:tap="toSelect" data-item="{{item}}" data-index="{{index}}" class="cell">
<view class="icon">
<view class="icon">
...
@@ -24,6 +24,12 @@
...
@@ -24,6 +24,12 @@
</view>
</view>
</block>
</block>
</scroll-view>
</scroll-view>
<view wx:else class="nothing">
<view class="icon">
<glsx-image webp src="/cart/nothing-icon.png" />
</view>
暂无收货地址
</view>
</view>
</view>
<view class="footer flex_cc">
<view class="footer flex_cc">
<view bind:tap="addNew" data-url="/packageMine/pages/address/detail/detail" class="btn flex_cc">新增地址</view>
<view bind:tap="addNew" data-url="/packageMine/pages/address/detail/detail" class="btn flex_cc">新增地址</view>
...
...
components/EnableWallet/EnableWallet.js
View file @
a3787dc
...
@@ -53,6 +53,13 @@ Component({
...
@@ -53,6 +53,13 @@ Component({
// 替换积分钱包名称
// 替换积分钱包名称
replaceNickName
(
data
)
{
replaceNickName
(
data
)
{
let
userInfo
=
wx
.
p
.
storage
.
get
(
'userInfo'
)
let
userInfo
=
wx
.
p
.
storage
.
get
(
'userInfo'
)
let
{
phone
,
scoreSource
}
=
data
if
(
!
phone
||
!
scoreSource
)
{
wx
.
p
.
sentry
.
reportParamError
(
'替换积分钱包姓名异常:phone, scoreSource'
,
data
)
}
commonApi
.
replaceWalletName
({
commonApi
.
replaceWalletName
({
nickName
:
data
?.
name
,
nickName
:
data
?.
name
,
phone
:
data
?.
phone
,
phone
:
data
?.
phone
,
...
...
components/GoodsAction/GoodsAction.js
View file @
a3787dc
...
@@ -48,7 +48,7 @@ Component({
...
@@ -48,7 +48,7 @@ Component({
cartApi
.
getCartList
(
para
).
then
(
res
=>
{
cartApi
.
getCartList
(
para
).
then
(
res
=>
{
let
cartNum
=
0
let
cartNum
=
0
res
?.
goodsList
?.
forEach
(
el
=>
{
res
?.
goodsList
?.
forEach
(
el
=>
{
cartNum
=
NP
.
plus
(
cartNum
,
el
.
sellQty
)
cartNum
=
NP
.
plus
(
cartNum
,
el
.
sellQty
||
0
)
})
})
this
.
setData
({
this
.
setData
({
cartNum
cartNum
...
...
packageIndex/pages/goodsDetail/index.js
View file @
a3787dc
...
@@ -92,6 +92,19 @@ Page({
...
@@ -92,6 +92,19 @@ Page({
merchantId
:
userInfo
?.
merchantId
,
merchantId
:
userInfo
?.
merchantId
,
merchantName
:
userInfo
?.
merchantName
,
merchantName
:
userInfo
?.
merchantName
,
}
:
{
id
:
reviewId
}
}
:
{
id
:
reviewId
}
let
{
goodsId
,
customerMobile
,
merchantId
}
=
params
if
(
e
.
type
==
'add'
&&
(
!
goodsId
||
!
customerMobile
||
!
merchantId
))
{
wx
.
p
.
sentry
.
reportParamError
(
'商品详情进入埋点异常:goodsId, customerMobile, merchantId'
,
params
)
}
if
(
e
.
type
!=
'add'
&&
!
reviewId
)
{
wx
.
p
.
sentry
.
reportParamError
(
'商品详情离开埋点异常:id'
,
{
id
:
reviewId
}
)
}
commonApi
[
eventApi
](
params
).
then
(
res
=>
{
commonApi
[
eventApi
](
params
).
then
(
res
=>
{
this
.
setData
({
reviewId
:
res
?.
data
})
this
.
setData
({
reviewId
:
res
?.
data
})
})
})
...
@@ -165,6 +178,12 @@ Page({
...
@@ -165,6 +178,12 @@ Page({
},
},
// 获取详情
// 获取详情
getDetail
(
options
)
{
getDetail
(
options
)
{
if
(
!
options
.
id
)
{
wx
.
p
.
sentry
.
reportParamError
(
'商品详情异常:id'
,
id
)
}
homeApi
.
getGoodsDetailInfo
({
id
:
options
.
id
,
businessType
:
1
}).
then
(
res
=>
{
homeApi
.
getGoodsDetailInfo
({
id
:
options
.
id
,
businessType
:
1
}).
then
(
res
=>
{
if
(
res
&&
res
.
specificationResponses
?.
length
)
{
if
(
res
&&
res
.
specificationResponses
?.
length
)
{
this
.
toGetSpecString
(
res
,
res
.
startQty
)
this
.
toGetSpecString
(
res
,
res
.
startQty
)
...
@@ -216,6 +235,13 @@ Page({
...
@@ -216,6 +235,13 @@ Page({
merchantId
:
userInfo
?.
merchantId
merchantId
:
userInfo
?.
merchantId
}
}
if
(
!
detailInfo
.
goodsStock
)
return
wx
.
p
.
wxApi
.
showToast
(
'暂无库存'
)
if
(
!
detailInfo
.
goodsStock
)
return
wx
.
p
.
wxApi
.
showToast
(
'暂无库存'
)
let
{
goodsId
,
sellQty
,
goodsSource
,
scoreSource
,
merchantId
,
specificationData
}
=
PARAMS
if
(
!
goodsId
||
!
sellQty
||
!
goodsSource
||
!
scoreSource
||
!
merchantId
||
(
goodsSource
==
2
&&
!
specificationData
))
{
wx
.
p
.
sentry
.
reportParamError
(
'加入购物车异常:goodsId, sellQty, goodsSource, scoreSource, merchantId, specificationData'
,
PARAMS
)
}
cartApi
.
addToCart
(
PARAMS
).
then
(
res
=>
{
cartApi
.
addToCart
(
PARAMS
).
then
(
res
=>
{
wx
.
p
.
wxApi
.
showToast
(
'加入购物车成功'
)
wx
.
p
.
wxApi
.
showToast
(
'加入购物车成功'
)
this
.
joinSuccess
()
this
.
joinSuccess
()
...
...
packageIndex/pages/goodsDetail/index.wxml
View file @
a3787dc
...
@@ -54,8 +54,8 @@
...
@@ -54,8 +54,8 @@
<view class="flex">
<view class="flex">
<view class="title">已选</view>
<view class="title">已选</view>
<view class="content flex_ccc">
<view class="content flex_ccc">
<view wx:if="{{detailInfo.goodsSource == 1}}">{{skuInfo}}</view>
<view
class="text"
wx:if="{{detailInfo.goodsSource == 1}}">{{skuInfo}}</view>
<view wx:else>{{activeSku}}</view>
<view
class="text"
wx:else>{{activeSku}}</view>
</view>
</view>
</view>
</view>
<mp-icon icon="arrow" color="#B1B1B3" size="{{12}}"></mp-icon>
<mp-icon icon="arrow" color="#B1B1B3" size="{{12}}"></mp-icon>
...
...
packageMine/pages/address/index/index.scss
View file @
a3787dc
...
@@ -79,6 +79,19 @@
...
@@ -79,6 +79,19 @@
.address-item
.bottom
.choose
icon
{
.address-item
.bottom
.choose
icon
{
margin-right
:
20rpx
;
margin-right
:
20rpx
;
}
}
.nothing
{
display
:
flex
;
flex-flow
:
column
;
align-items
:
center
;
justify-content
:
center
;
color
:
#7A8299
;
padding-top
:
40rpx
;
.icon
{
width
:
320rpx
;
height
:
300rpx
;
margin-bottom
:
20rpx
;
}
}
.btn-box
{
.btn-box
{
position
:
fixed
;
position
:
fixed
;
bottom
:
0
;
bottom
:
0
;
...
...
packageMine/pages/address/index/index.wxml
View file @
a3787dc
<view class="layout">
<view class="layout">
<block wx:for="{{addressList}}" wx:key="index">
<block wx:if="{{addressList.length}}">
<view class="address-item" catchtap="chooseThis" data-item="{{item}}">
<block wx:for="{{addressList}}" wx:key="index">
<view class="top">
<view class="address-item" catchtap="chooseThis" data-item="{{item}}">
<view class="info">
<view class="top">
<view class="user">
<view class="info">
<text class="name">{{item.receiveName}}</text>
<view class="user">
<text>{{item.receiveMobile}}</text>
<text class="name">{{item.receiveName}}</text>
<text>{{item.receiveMobile}}</text>
</view>
<view class="address">{{item.provinceName}}{{item.cityName}}{{item.countyName}}{{item.address}}</view>
</view>
</view>
<view class="address">{{item.provinceName}}{{item.cityName}}{{item.countyName}}{{item.address}}</view>
<block wx:if="{{!isChooseAddress}}">
</view>
<view class="icon-box" catchtap="jump" data-item="{{item}}" data-edit data-id="{{item.id}}">
<block wx:if="{{!isChooseAddress}}">
<view class="sprite-icon icon-address-edit">
<view class="icon-box" catchtap="jump" data-item="{{item}}" data-edit data-id="{{item.id}}">
<glsx-image src="/mine/edit-address.png"></glsx-image>
<view class="sprite-icon icon-address-edit">
</view>
<glsx-image src="/mine/edit-address.png"></glsx-image>
</view>
</view>
</block>
</view>
<view class="bottom">
<view class="choose {{item.isDefault == 1?'default':''}}" catchtap="chooseDefault" data-item="{{item}}">
<icon type="{{item.isDefault == 1?'success':'circle'}}" size="32rpx" color="{{item.isDefault == 1?'#FB8A32':'#6E6E7A'}}"></icon>
默认地址
</view>
</view>
</block>
<block wx:if="{{!isChooseAddress}}">
</view>
<view class="del" catchtap="del" data-item="{{item}}" data-id="{{item.id}}">删除</view>
<view class="bottom">
</block>
<view class="choose {{item.isDefault == 1?'default':''}}" catchtap="chooseDefault" data-item="{{item}}">
<icon type="{{item.isDefault == 1?'success':'circle'}}" size="32rpx" color="{{item.isDefault == 1?'#FB8A32':'#6E6E7A'}}"></icon>
默认地址
</view>
</view>
<block wx:if="{{!isChooseAddress}}">
<view class="del" catchtap="del" data-item="{{item}}" data-id="{{item.id}}">删除</view>
</block>
</view>
</view>
</
view
>
</
block
>
</block>
</block>
<block wx:else>
<view class="nothing">
<view class="icon">
<glsx-image webp src="/cart/nothing-icon.png" />
</view>
暂无收货地址
</view>
</block>
</view>
</view>
<view class="btn-box isFullSucreen">
<view class="btn-box isFullSucreen">
<view class="btn text-center" bindtap="jump">新增收货地址</view>
<view class="btn text-center" bindtap="jump">新增收货地址</view>
...
...
pages/Login/Login.js
View file @
a3787dc
...
@@ -143,6 +143,12 @@ Page({
...
@@ -143,6 +143,12 @@ Page({
if
(
!
captcha
)
throw
'请输入验证码'
if
(
!
captcha
)
throw
'请输入验证码'
if
(
!
phoneRex
.
test
(
mobile
))
throw
'请输入正确的手机号'
if
(
!
phoneRex
.
test
(
mobile
))
throw
'请输入正确的手机号'
wx
.
p
.
wxApi
.
showLoading
()
wx
.
p
.
wxApi
.
showLoading
()
if
(
!
mobile
||
!
captcha
||
!
this
.
sessionId
)
{
wx
.
p
.
sentry
.
reportParamError
(
'手机号验证码登录异常: mobile, captcha, sessionId'
,
{
mobile
,
captcha
,
sessionId
:
this
.
sessionId
}
)
}
const
{
const
{
code
,
code
,
data
,
data
,
...
@@ -177,6 +183,13 @@ Page({
...
@@ -177,6 +183,13 @@ Page({
iv
:
detail
.
iv
,
iv
:
detail
.
iv
,
sessionId
:
this
.
sessionId
sessionId
:
this
.
sessionId
}
}
let
{
encryptedData
,
iv
,
sessionId
}
=
obj
if
(
!
encryptedData
||
!
iv
||
!
sessionId
)
{
wx
.
p
.
sentry
.
reportParamError
(
'授权手机号登录异常: encryptedData, iv, sessionId'
,
obj
)
}
const
{
const
{
code
,
code
,
data
,
data
,
...
@@ -202,6 +215,12 @@ Page({
...
@@ -202,6 +215,12 @@ Page({
getSource
()
{
getSource
()
{
let
{
loginData
}
=
this
.
data
let
{
loginData
}
=
this
.
data
if
(
!
loginData
.
phone
)
{
wx
.
p
.
sentry
.
reportParamError
(
'获取积分渠道来源异常:staffPhone '
,
loginData
)
}
commonApi
.
getPointsSourceList
({
commonApi
.
getPointsSourceList
({
staffPhone
:
loginData
?.
phone
staffPhone
:
loginData
?.
phone
}).
then
(
res
=>
{
}).
then
(
res
=>
{
...
@@ -227,6 +246,12 @@ Page({
...
@@ -227,6 +246,12 @@ Page({
this
.
getMerchantList
(
source
,
loginData
)
this
.
getMerchantList
(
source
,
loginData
)
},
},
getMerchantList
(
source
,
loginData
)
{
getMerchantList
(
source
,
loginData
)
{
if
(
!
loginData
.
phone
||
!
source
)
{
wx
.
p
.
sentry
.
reportParamError
(
'获取门店列表异常:staffPhone, channelSource'
,
{...
loginData
,
channelSource
:
source
}
)
}
commonApi
.
getMerchantData
({
staffPhone
:
loginData
?.
phone
,
channelSource
:
source
}).
then
(
res
=>
{
commonApi
.
getMerchantData
({
staffPhone
:
loginData
?.
phone
,
channelSource
:
source
}).
then
(
res
=>
{
let
{
code
,
data
,
message
}
=
res
let
{
code
,
data
,
message
}
=
res
if
(
code
==
0
)
{
if
(
code
==
0
)
{
...
@@ -237,6 +262,12 @@ Page({
...
@@ -237,6 +262,12 @@ Page({
if
(
data
?.
length
==
1
)
{
// 仅有一个门店时跳过选择门店页面 直接登录成功
if
(
data
?.
length
==
1
)
{
// 仅有一个门店时跳过选择门店页面 直接登录成功
const
{
merchantId
,
merchantName
}
=
data
[
0
]
||
{}
const
{
merchantId
,
merchantName
}
=
data
[
0
]
||
{}
wx
.
p
.
isLogin
=
true
;
wx
.
p
.
isLogin
=
true
;
if
(
!
source
||
!
merchantId
||
!
loginData
.
phone
)
{
wx
.
p
.
sentry
.
reportParamError
(
'门店选择异常:staffPhone, channelSource'
,
{...
loginData
,
channelSource
:
source
,
merchantId
,
merchantName
}
)
}
wx
.
p
.
storage
.
set
(
'userInfo'
,
{
wx
.
p
.
storage
.
set
(
'userInfo'
,
{
...
loginData
,
...
loginData
,
channelSource
:
source
,
channelSource
:
source
,
...
...
pages/chooseMerchant/index.js
View file @
a3787dc
...
@@ -6,357 +6,6 @@ Page({
...
@@ -6,357 +6,6 @@ Page({
* 页面的初始数据
* 页面的初始数据
*/
*/
data
:
{
data
:
{
"merchantList"
:
[
{
"accountName"
:
"18372203315"
,
"merchantId"
:
44212483
,
"accountLevel"
:
4
,
"userType"
:
2
,
"phone"
:
"18372203315"
,
"name"
:
"ymt"
,
"duty"
:
null
,
"merchantName"
:
"自动化园区店01"
,
"channelType"
:
1
,
"isSuper"
:
false
,
"uuid"
:
"a4ab56c695c0455fa49c9a7c5c33e789"
,
"createdDate"
:
"2024-08-06 11:31:36"
,
"bussinessId"
:
12518
,
"weChatOpenId"
:
null
,
"weChatUnionId"
:
null
,
"weChatNickName"
:
null
,
"weChatAvatarUrl"
:
null
,
"weChatAppId"
:
null
,
"weChatPhone"
:
"18372203315"
,
"staffLabel"
:
"3,0,2,5"
,
"department"
:
null
,
"permissionMerchantIds"
:
null
,
"subLoginUser"
:
null
,
"merchantAccountList"
:
[
"6"
]
},
{
"accountName"
:
"18372203315"
,
"merchantId"
:
44209813
,
"accountLevel"
:
1
,
"userType"
:
2
,
"phone"
:
"18372203315"
,
"name"
:
"0422篱笆"
,
"duty"
:
null
,
"merchantName"
:
"广联数科(内部使用)"
,
"channelType"
:
1
,
"isSuper"
:
false
,
"uuid"
:
"5787ecfc61a54480a8baa2c391c0eca7"
,
"createdDate"
:
"2024-02-23 16:44:10"
,
"bussinessId"
:
7938
,
"weChatOpenId"
:
null
,
"weChatUnionId"
:
null
,
"weChatNickName"
:
null
,
"weChatAvatarUrl"
:
null
,
"weChatAppId"
:
null
,
"weChatPhone"
:
"18372203315"
,
"staffLabel"
:
"0,1,4,3,2,5,6"
,
"department"
:
0
,
"permissionMerchantIds"
:
null
,
"subLoginUser"
:
null
,
"merchantAccountList"
:
[
"6"
,
"7"
]
},
{
"accountName"
:
"18372203315"
,
"merchantId"
:
44210823
,
"accountLevel"
:
4
,
"userType"
:
2
,
"phone"
:
"18372203315"
,
"name"
:
"0914测试ymt"
,
"duty"
:
null
,
"merchantName"
:
"腾势"
,
"channelType"
:
2
,
"isSuper"
:
false
,
"uuid"
:
"2b247311169d4a728312a4a799cf874e"
,
"createdDate"
:
"2024-09-14 17:06:37"
,
"bussinessId"
:
13287
,
"weChatOpenId"
:
null
,
"weChatUnionId"
:
null
,
"weChatNickName"
:
null
,
"weChatAvatarUrl"
:
null
,
"weChatAppId"
:
null
,
"weChatPhone"
:
"18372203315"
,
"staffLabel"
:
"6,0"
,
"department"
:
null
,
"permissionMerchantIds"
:
null
,
"subLoginUser"
:
null
,
"merchantAccountList"
:
[
"2"
]
},
{
"accountName"
:
"18372203315"
,
"merchantId"
:
44212571
,
"accountLevel"
:
4
,
"userType"
:
2
,
"phone"
:
"18372203315"
,
"name"
:
"尹梦甜"
,
"duty"
:
null
,
"merchantName"
:
"test2204"
,
"channelType"
:
1
,
"isSuper"
:
false
,
"uuid"
:
"95f59c8460af43d4a22b86a17fffa860"
,
"createdDate"
:
"2024-02-27 10:35:26"
,
"bussinessId"
:
7939
,
"weChatOpenId"
:
null
,
"weChatUnionId"
:
null
,
"weChatNickName"
:
null
,
"weChatAvatarUrl"
:
null
,
"weChatAppId"
:
null
,
"weChatPhone"
:
"18372203315"
,
"staffLabel"
:
"0,3,4"
,
"department"
:
null
,
"permissionMerchantIds"
:
null
,
"subLoginUser"
:
null
,
"merchantAccountList"
:
[
"6"
]
},
{
"accountName"
:
"18372203315"
,
"merchantId"
:
44218105
,
"accountLevel"
:
4
,
"userType"
:
2
,
"phone"
:
"18372203315"
,
"name"
:
"ymt"
,
"duty"
:
null
,
"merchantName"
:
"第一个鸿蒙4S店"
,
"channelType"
:
1
,
"isSuper"
:
false
,
"uuid"
:
"d79d9c0f2ecd4b02b9460137fee768f2"
,
"createdDate"
:
"2025-04-21 14:52:13"
,
"bussinessId"
:
13686
,
"weChatOpenId"
:
null
,
"weChatUnionId"
:
null
,
"weChatNickName"
:
null
,
"weChatAvatarUrl"
:
null
,
"weChatAppId"
:
null
,
"weChatPhone"
:
"18372203315"
,
"staffLabel"
:
"1,6,0"
,
"department"
:
null
,
"permissionMerchantIds"
:
null
,
"subLoginUser"
:
null
,
"merchantAccountList"
:
[
"2"
,
"2"
]
},
{
"accountName"
:
"18372203315"
,
"merchantId"
:
44212540
,
"accountLevel"
:
4
,
"userType"
:
2
,
"phone"
:
"18372203315"
,
"name"
:
"0523ymt"
,
"duty"
:
null
,
"merchantName"
:
"xiejq园区店"
,
"channelType"
:
1
,
"isSuper"
:
false
,
"uuid"
:
"2ca629aa379244a787536a55259a7126"
,
"createdDate"
:
"2024-05-23 16:38:17"
,
"bussinessId"
:
10548
,
"weChatOpenId"
:
null
,
"weChatUnionId"
:
null
,
"weChatNickName"
:
null
,
"weChatAvatarUrl"
:
null
,
"weChatAppId"
:
null
,
"weChatPhone"
:
"18372203315"
,
"staffLabel"
:
"1,4,3,0,2"
,
"department"
:
null
,
"permissionMerchantIds"
:
null
,
"subLoginUser"
:
null
,
"merchantAccountList"
:
[
"6"
]
},
{
"accountName"
:
"18372203315"
,
"merchantId"
:
44218088
,
"accountLevel"
:
4
,
"userType"
:
2
,
"phone"
:
"18372203315"
,
"name"
:
"草稿门店"
,
"duty"
:
null
,
"merchantName"
:
"ymt门店001"
,
"channelType"
:
1
,
"isSuper"
:
false
,
"uuid"
:
"8a36fdda9cdb41dbb251d85a1af42a5e"
,
"createdDate"
:
"2024-07-18 14:09:01"
,
"bussinessId"
:
12264
,
"weChatOpenId"
:
"ooPYo49bo4-UlPdOPY9v11KmUJRA"
,
"weChatUnionId"
:
"oV6hWt2o3sH9x5-wjiFgYgvaODOE"
,
"weChatNickName"
:
"篱笆泥巴"
,
"weChatAvatarUrl"
:
"https://thirdwx.qlogo.cn/mmopen/vi_32/PiajxSqBRaEIXAllSgFVOVwLdyD3icNH9ewwu6NtBXJOFXB8gPLlDBQHM55x8PNSB9911eyZIeZ6X1ibEZia4hsib6RBMtZMF9PiccdH7u6b1hQYicia6icc7yKqXmQ/132"
,
"weChatAppId"
:
"wxe10067a63c1856ac"
,
"weChatPhone"
:
"18372203315"
,
"staffLabel"
:
"1"
,
"department"
:
0
,
"permissionMerchantIds"
:
null
,
"subLoginUser"
:
null
,
"merchantAccountList"
:
[
"2"
]
},
{
"accountName"
:
"18372203315"
,
"merchantId"
:
44210895
,
"accountLevel"
:
4
,
"userType"
:
2
,
"phone"
:
"18372203315"
,
"name"
:
"尹梦甜"
,
"duty"
:
null
,
"merchantName"
:
"波波的单店门店"
,
"channelType"
:
1
,
"isSuper"
:
false
,
"uuid"
:
"397fa2a027bf409d988039608d605082"
,
"createdDate"
:
"2023-09-18 10:19:57"
,
"bussinessId"
:
7833
,
"weChatOpenId"
:
"ooPYo49bo4-UlPdOPY9v11KmUJRA"
,
"weChatUnionId"
:
"oV6hWt2o3sH9x5-wjiFgYgvaODOE"
,
"weChatNickName"
:
"篱笆泥巴"
,
"weChatAvatarUrl"
:
"https://thirdwx.qlogo.cn/mmopen/vi_32/78vDM2vOOAhc6CH3Z9QzhBiatQGJE4SQLxrNWXon89DwELFkfGGlldj8eM9L6msSLcR1pAMD6XV6jRhJPC9OiblA/132"
,
"weChatAppId"
:
"wxe10067a63c1856ac"
,
"weChatPhone"
:
"18372203315"
,
"staffLabel"
:
"3,1,4,0,2,6,5"
,
"department"
:
1
,
"permissionMerchantIds"
:
null
,
"subLoginUser"
:
null
,
"merchantAccountList"
:
[
"2"
]
},
{
"accountName"
:
"18372203315"
,
"merchantId"
:
44217969
,
"accountLevel"
:
4
,
"userType"
:
2
,
"phone"
:
"18372203315"
,
"name"
:
"ymt-xiejq4s店10"
,
"duty"
:
null
,
"merchantName"
:
"xiejq4s店-10"
,
"channelType"
:
1
,
"isSuper"
:
false
,
"uuid"
:
"4aaaa49ea16b443c9f147bce099ba0f7"
,
"createdDate"
:
"2025-04-21 16:06:28"
,
"bussinessId"
:
13689
,
"weChatOpenId"
:
null
,
"weChatUnionId"
:
null
,
"weChatNickName"
:
null
,
"weChatAvatarUrl"
:
null
,
"weChatAppId"
:
null
,
"weChatPhone"
:
"18372203315"
,
"staffLabel"
:
"6,1,0"
,
"department"
:
null
,
"permissionMerchantIds"
:
null
,
"subLoginUser"
:
null
,
"merchantAccountList"
:
[
"2"
]
},
{
"accountName"
:
"18372203315"
,
"merchantId"
:
44218276
,
"accountLevel"
:
1
,
"userType"
:
2
,
"phone"
:
"18372203315"
,
"name"
:
"ymt"
,
"duty"
:
null
,
"merchantName"
:
"ymt门店003(享界)"
,
"channelType"
:
1
,
"isSuper"
:
false
,
"uuid"
:
"3d0f933e73df46a4bf15ac1506c6910b"
,
"createdDate"
:
"2025-04-24 11:07:19"
,
"bussinessId"
:
13691
,
"weChatOpenId"
:
null
,
"weChatUnionId"
:
null
,
"weChatNickName"
:
null
,
"weChatAvatarUrl"
:
null
,
"weChatAppId"
:
null
,
"weChatPhone"
:
"18372203315"
,
"staffLabel"
:
"1,6,0"
,
"department"
:
null
,
"permissionMerchantIds"
:
null
,
"subLoginUser"
:
null
,
"merchantAccountList"
:
[
"2"
]
},
{
"accountName"
:
"18372203315"
,
"merchantId"
:
44211560
,
"accountLevel"
:
4
,
"userType"
:
2
,
"phone"
:
"18372203315"
,
"name"
:
"0528ymt"
,
"duty"
:
null
,
"merchantName"
:
"经营模式园区店test"
,
"channelType"
:
1
,
"isSuper"
:
false
,
"uuid"
:
"883443ae75414397a0dac05aac215cfe"
,
"createdDate"
:
"2024-05-28 13:59:24"
,
"bussinessId"
:
10560
,
"weChatOpenId"
:
null
,
"weChatUnionId"
:
null
,
"weChatNickName"
:
null
,
"weChatAvatarUrl"
:
null
,
"weChatAppId"
:
null
,
"weChatPhone"
:
"18372203315"
,
"staffLabel"
:
"0"
,
"department"
:
null
,
"permissionMerchantIds"
:
null
,
"subLoginUser"
:
null
,
"merchantAccountList"
:
[
"6"
]
},
{
"accountName"
:
"18372203315"
,
"merchantId"
:
44209480
,
"accountLevel"
:
4
,
"userType"
:
2
,
"phone"
:
"18372203315"
,
"name"
:
"ymt测试1号"
,
"duty"
:
null
,
"merchantName"
:
"测试园区店"
,
"channelType"
:
2
,
"isSuper"
:
false
,
"uuid"
:
"caf2c1d54fdb43dcbe5c7f55912ec320"
,
"createdDate"
:
"2023-12-07 10:29:46"
,
"bussinessId"
:
7903
,
"weChatOpenId"
:
null
,
"weChatUnionId"
:
null
,
"weChatNickName"
:
null
,
"weChatAvatarUrl"
:
null
,
"weChatAppId"
:
null
,
"weChatPhone"
:
"18372203315"
,
"staffLabel"
:
"4,3"
,
"department"
:
null
,
"permissionMerchantIds"
:
null
,
"subLoginUser"
:
null
,
"merchantAccountList"
:
[
"6"
]
},
{
"accountName"
:
"18372203315"
,
"merchantId"
:
44211025
,
"accountLevel"
:
4
,
"userType"
:
2
,
"phone"
:
"18372203315"
,
"name"
:
"尹梦甜"
,
"duty"
:
null
,
"merchantName"
:
"流程测试园区门店"
,
"channelType"
:
2
,
"isSuper"
:
false
,
"uuid"
:
"6825aaebf4f04f6a8a4c3d5a9b26c914"
,
"createdDate"
:
"2023-09-19 18:25:40"
,
"bussinessId"
:
7838
,
"weChatOpenId"
:
null
,
"weChatUnionId"
:
null
,
"weChatNickName"
:
null
,
"weChatAvatarUrl"
:
null
,
"weChatAppId"
:
null
,
"weChatPhone"
:
"18372203315"
,
"staffLabel"
:
"1,4,3,0,2"
,
"department"
:
0
,
"permissionMerchantIds"
:
null
,
"subLoginUser"
:
null
,
"merchantAccountList"
:
[
"6"
]
},
{
"accountName"
:
"18372203315"
,
"merchantId"
:
44212556
,
"accountLevel"
:
4
,
"userType"
:
2
,
"phone"
:
"18372203315"
,
"name"
:
"ymt测试1号"
,
"duty"
:
null
,
"merchantName"
:
"0918测试1.1.2-门店"
,
"channelType"
:
1
,
"isSuper"
:
false
,
"uuid"
:
"d4b283988d104d8e814a167539886248"
,
"createdDate"
:
"2023-09-20 15:22:44"
,
"bussinessId"
:
7840
,
"weChatOpenId"
:
"ooPYo49bo4-UlPdOPY9v11KmUJRA"
,
"weChatUnionId"
:
"oV6hWt2o3sH9x5-wjiFgYgvaODOE"
,
"weChatNickName"
:
"篱笆泥巴"
,
"weChatAvatarUrl"
:
"https://thirdwx.qlogo.cn/mmopen/vi_32/78vDM2vOOAhc6CH3Z9QzhBiatQGJE4SQLxrNWXon89DwELFkfGGlldj8eM9L6msSLcR1pAMD6XV6jRhJPC9OiblA/132"
,
"weChatAppId"
:
"wxe10067a63c1856ac"
,
"weChatPhone"
:
"18372203315"
,
"staffLabel"
:
"3,1,4,0,2,6"
,
"department"
:
1
,
"permissionMerchantIds"
:
null
,
"subLoginUser"
:
null
,
"merchantAccountList"
:
[
"2"
]
}
],
flag
:
true
flag
:
true
},
},
...
@@ -388,6 +37,12 @@ Page({
...
@@ -388,6 +37,12 @@ Page({
return
return
}
}
wx
.
p
.
isLogin
=
true
wx
.
p
.
isLogin
=
true
if
(
!
paramsData
.
phone
||
!
paramsData
.
channelSource
)
{
wx
.
p
.
sentry
.
reportParamError
(
'门店选择异常:phone, channelSource'
,
paramsData
)
}
wx
.
p
.
storage
.
set
(
'userInfo'
,
{
...
paramsData
.
loginData
,
merchantId
:
obj
?.
merchantId
,
merchantName
:
obj
?.
merchantName
})
wx
.
p
.
storage
.
set
(
'userInfo'
,
{
...
paramsData
.
loginData
,
merchantId
:
obj
?.
merchantId
,
merchantName
:
obj
?.
merchantName
})
wx
.
p
.
router
.
reLaunch
(
'/pages/tab/index/index'
,
{
loginPageFlag
:
paramsData
?.
loginPageFlag
})
wx
.
p
.
router
.
reLaunch
(
'/pages/tab/index/index'
,
{
loginPageFlag
:
paramsData
?.
loginPageFlag
})
},
},
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment