Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
baiguangyao
mr-julyedu
Commits
e32e5b91
Commit
e32e5b91
authored
Sep 25, 2019
by
FE
Browse files
Options
Browse Files
Download
Plain Diff
pull master and solve
parents
81198c83
e6f1658f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
src/components/detail/redPacket/index.js
+2
-2
src/components/passport/bindingTel/index.js
+1
-1
src/components/passport/common/veriCodeInput/index.js
+1
-1
src/components/passport/forgotPassword/index.js
+1
-1
src/components/passport/login/index.js
+1
-1
No files found.
src/components/detail/redPacket/index.js
View file @
e32e5b91
...
...
@@ -489,7 +489,7 @@ class RedPacket extends PureComponent {
http
.
post
(
`
${
API
[
'passport-api'
]}
/m/personal/bindPhoneSendCode`
,
{
area_code
:
num
.
padStart
(
4
,
'0'
)
,
area_code
:
'00'
+
num
,
phone_num
:
tel
}
).
then
(
res
=>
{
...
...
@@ -575,7 +575,7 @@ class RedPacket extends PureComponent {
http
.
post
(
`
${
API
[
'passport-api'
]}
/m/personal/bindPhone`
,
{
area_code
:
num
.
padStart
(
4
,
'0'
)
,
area_code
:
'00'
+
num
,
phone_num
:
tel
,
code
:
code
,
type
:
1
,
...
...
src/components/passport/bindingTel/index.js
View file @
e32e5b91
...
...
@@ -123,7 +123,7 @@ const formikConfig = {
phone_num
:
values
.
tel
,
phone_code
:
values
.
veriCode
,
mkey
:
getParam
(
'mkey'
),
area_code
:
props
.
country
.
num
,
area_code
:
'00'
+
props
.
country
.
num
,
plat
:
5
}).
then
(
res
=>
{
const
data
=
res
.
data
...
...
src/components/passport/common/veriCodeInput/index.js
View file @
e32e5b91
...
...
@@ -87,7 +87,7 @@ class VeriCodeInput extends Component {
http
.
post
(
`
${
API
[
'passport-api'
]}
/quick_sms`
,
{
phone_num
:
tel
||
account
,
action
:
action
||
'login'
,
area_code
:
country
.
num
,
area_code
:
'00'
+
country
.
num
,
challenge
,
checking
}).
then
(
res
=>
{
...
...
src/components/passport/forgotPassword/index.js
View file @
e32e5b91
...
...
@@ -123,7 +123,7 @@ const formikConfig = {
http
.
post
(
`
${
API
[
'passport-api'
]}
/check_phone_code`
,
{
phone
:
values
.
tel
,
code
:
values
.
veriCode
,
area_code
:
props
.
country
.
num
area_code
:
'00'
+
props
.
country
.
num
}).
then
(
res
=>
{
if
(
res
.
data
.
errno
==
0
)
{
props
.
history
.
push
(
'/passport/set-password'
,
{
from
:
props
.
location
})
...
...
src/components/passport/login/index.js
View file @
e32e5b91
...
...
@@ -133,7 +133,7 @@ const FormikConfig = {
props
.
quickLogin
({
phone_num
:
values
.
tel
,
phone_code
:
values
.
veriCode
,
area_code
:
props
.
country
.
num
area_code
:
'00'
+
props
.
country
.
num
}).
then
(
res
=>
{
if
(
res
.
hasError
)
{
Toast
.
info
(
res
.
msg
);
...
...
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