切换导航条
此项目
正在载入...
登录
李涵
/
integral
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
差异文件
浏览文件
作者
李涵
6 years ago
提交
20619355d1aa9c821430d740e3591e86861622d5
2 个父辈
5f214037
cf7065fc
1 个管道 的构建
通过
耗费 1 秒
合并分支 'li' 到 'master'
赠送积分和角色管理 查看合并请求
!479
变更
1
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
25 行增加
和
16 行删除
public/themes/simpleboot3/user/center/edit_phone2.html
public/themes/simpleboot3/user/center/edit_phone2.html
查看文件 @
2061935
...
...
@@ -143,24 +143,33 @@
$
(
".nextstep"
).
click
(
function
(){
var
mobile
=
$
(
".enterphone"
).
val
();
$
.
ajax
({
url
:
"{:url('sms/Sms/checkCode')}"
,
data
:{
mobile
:
mobile
,
code
:
$
(
".entercode"
).
val
()
},
type
:
"POST"
,
dataType
:
"JSON"
,
var
code
=
$
(
".entercode"
).
val
();
if
(
mobile
==
''
)
{
alert
(
'请输入手机号'
);
}
else
{
if
(
code
==
''
)
{
alert
(
'请输入验证码'
);
}
else
{
$
.
ajax
({
url
:
"{:url('sms/Sms/checkCode')}"
,
data
:{
mobile
:
mobile
,
code
:
code
},
type
:
"POST"
,
dataType
:
"JSON"
,
success
:
function
(
data
)
{
if
(
data
.
data
===
true
)
{
localStorage
.
clear
();
window
.
location
.
href
=
"{:url('user/Center/userInfo')}"
}
else
{
alert
(
data
.
msg
);
}
success
:
function
(
data
)
{
if
(
data
.
data
===
true
)
{
localStorage
.
clear
();
window
.
location
.
href
=
"{:url('user/Center/userInfo')}"
}
else
{
alert
(
data
.
msg
);
}
}
})
}
}
)
}
});
//发送验证码
...
...
请
注册
或
登录
后发表评论