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
e4d11a6b
Commit
e4d11a6b
authored
Sep 25, 2019
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
国际手机号
parent
e8092317
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
src/components/detail/bargain/bargainInfo/index.js
+2
-2
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/bargain/bargainInfo/index.js
View file @
e4d11a6b
...
...
@@ -42,7 +42,7 @@ class BargainInfo extends Component {
http
.
post
(
`
${
API
[
'passport-api'
]}
/m/personal/bindPhoneSendCode`
,
{
area_code
:
country
.
padStart
(
4
,
'0'
)
,
area_code
:
'00'
+
country
,
phone_num
:
mobile
}
).
then
(
res
=>
{
...
...
@@ -84,7 +84,7 @@ class BargainInfo extends Component {
http
.
post
(
`
${
API
[
'passport-api'
]}
/m/personal/bindPhone`
,
{
area_code
:
country
.
padStart
(
4
,
'0'
)
,
area_code
:
'00'
+
country
,
phone_num
:
mobile
,
code
:
code
,
type
:
1
,
...
...
src/components/detail/redPacket/index.js
View file @
e4d11a6b
...
...
@@ -487,7 +487,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
=>
{
...
...
@@ -573,7 +573,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 @
e4d11a6b
...
...
@@ -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 @
e4d11a6b
...
...
@@ -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 @
e4d11a6b
...
...
@@ -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 @
e4d11a6b
...
...
@@ -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