Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
store-assistant
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 9c9cb25f
authored
Oct 20, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'zq_dev_3.0' into 'v3.0'
不调二维码的接口 See merge request
!43
2 parents
051cf331
74ab0a09
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
12 deletions
pages/authentication/register/register.js
pages/checkProduct/checkProduct.js
pages/authentication/register/register.js
View file @
9c9cb25
...
@@ -58,12 +58,14 @@ Page({
...
@@ -58,12 +58,14 @@ Page({
detail
detail
})
{
})
{
if
(
!
detail
.
code
)
return
if
(
!
detail
.
code
)
return
wx
.
showLoading
()
USERAPI
.
authUserPhone
(
detail
,
this
.
loginToken
).
then
(({
USERAPI
.
authUserPhone
(
detail
,
this
.
loginToken
).
then
(({
code
,
code
,
data
,
data
,
message
,
message
,
errId
errId
})
=>
{
})
=>
{
wx
.
hideLoading
()
if
(
code
==
'0'
||
errId
==
'30990103'
){
if
(
code
==
'0'
||
errId
==
'30990103'
){
let
target
=
null
let
target
=
null
if
(
code
==
'0'
&&
data
.
loginUserInfoList
?.
length
){
if
(
code
==
'0'
&&
data
.
loginUserInfoList
?.
length
){
...
@@ -93,6 +95,7 @@ Page({
...
@@ -93,6 +95,7 @@ Page({
this
.
register
(
regParmas
)
this
.
register
(
regParmas
)
}
}
}
else
{
}
else
{
wx
.
hideLoading
()
wx
.
$api
.
showToast
(
message
||
'系统异常'
)
wx
.
$api
.
showToast
(
message
||
'系统异常'
)
}
}
}).
catch
(({
}).
catch
(({
...
...
pages/checkProduct/checkProduct.js
View file @
9c9cb25
...
@@ -91,9 +91,9 @@ Page({
...
@@ -91,9 +91,9 @@ Page({
width
:
imgW
,
width
:
imgW
,
height
:
imgH
height
:
imgH
});
});
ActivityApi
.
getActivityVisitorList
({
//
ActivityApi.getActivityVisitorList({
actNum
,
activeNavIdx
//
actNum, activeNavIdx
}).
then
(
response
=>
{
//
}).then(response => {
this
.
setData
({
this
.
setData
({
imgH
:
(
imgH
/
imgW
)
*
450
imgH
:
(
imgH
/
imgW
)
*
450
})
})
...
@@ -106,13 +106,13 @@ Page({
...
@@ -106,13 +106,13 @@ Page({
height
:
imgH
,
height
:
imgH
,
url
:
img
,
url
:
img
,
},
},
{
//
{
x
:
imgW
-
64
,
//
x:imgW-64,
y
:
imgH
-
arr
[
actNum
]
-
64
,
//
y: imgH-arr[actNum]-64,
width
:
64
,
//
width: 64,
height
:
64
,
//
height: 64,
url
:
response
,
//二维码
//
url: response, //二维码
},
//
},
];
];
drawFun
.
begin
({
drawFun
.
begin
({
imageList
:
imgList
,
imageList
:
imgList
,
...
@@ -123,8 +123,7 @@ Page({
...
@@ -123,8 +123,7 @@ Page({
});
});
wx
.
hideLoading
()
wx
.
hideLoading
()
})
})
console
.
log
(
response
,
'response'
)
// })
})
}
}
})
})
}
}
...
...
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