切换导航条
此项目
正在载入...
登录
李涵
/
integral
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
lihan
6 years ago
提交
212db3970d72eb90358d23eef4311b31707f8e6b
1 个父辈
bfb5f55f
1 个管道 的构建
通过
耗费 2 秒
赠送积分和角色管理
变更
3
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
4 行增加
和
6 行删除
app/friendship/controller/FriendController.php
public/themes/simpleboot3/friendship/enter_password.html
public/themes/simpleboot3/friendship/sure_password.html
app/friendship/controller/FriendController.php
查看文件 @
212db39
...
...
@@ -196,7 +196,7 @@ class FriendController extends HomeBaseController
if
(
$step
==
'enter'
)
{
session
(
'user.pwd'
,
$integral_pwd
);
if
(
session
(
'user.pwd'
))
{
$this
->
success
(
session
(
'user.pwd'
)
,
url
(
'friendship/Friend/surePassword'
),
true
);
$this
->
success
(
''
,
url
(
'friendship/Friend/surePassword'
),
true
);
}
}
elseif
(
$step
==
'sure'
)
{
if
(
$integral_pwd
==
session
(
'user.pwd'
))
{
...
...
@@ -207,12 +207,12 @@ class FriendController extends HomeBaseController
if
(
Db
::
name
(
'user'
)
->
update
(
$data
))
{
session
(
'user.pwd'
,
null
);
$this
->
success
(
'修改成功'
,
url
(
'user/center/myBalance'
),
true
);
}
else
{
}
else
{
session
(
'user.pwd'
,
null
);
$this
->
success
(
'您未作出任何修改'
,
url
(
'user/center/myBalance'
),
true
);
}
}
else
{
$this
->
success
(
$integral_pwd
,
''
,
false
);
$this
->
success
(
'密码不一致'
,
''
,
false
);
}
}
else
{
$this
->
success
(
'未知错误'
,
''
,
false
);
...
...
public/themes/simpleboot3/friendship/enter_password.html
查看文件 @
212db39
...
...
@@ -155,7 +155,6 @@
dataType
:
"JSON"
,
success
:
function
(
data
)
{
alert
(
data
.
msg
);
if
(
data
.
data
===
true
)
{
window
.
location
.
href
=
data
.
url
}
...
...
public/themes/simpleboot3/friendship/sure_password.html
查看文件 @
212db39
...
...
@@ -128,7 +128,7 @@
t
.
onkeyup
=
function
(){
arr
.
push
(
$
(
this
).
val
())
console
.
log
(
arr
);
var
str
=
arr
[
0
]
+
arr
[
1
]
+
arr
[
2
]
+
arr
[
3
]
+
arr
[
4
]
+
arr
[
5
];
str
=
arr
[
0
]
+
arr
[
1
]
+
arr
[
2
]
+
arr
[
3
]
+
arr
[
4
]
+
arr
[
5
];
console
.
log
(
str
)
}
}
...
...
@@ -148,7 +148,6 @@
dataType
:
"JSON"
,
success
:
function
(
data
)
{
alert
(
data
.
msg
);
if
(
data
.
data
===
true
)
{
window
.
location
.
href
=
data
.
url
}
...
...
请
注册
或
登录
后发表评论