切换导航条
此项目
正在载入...
登录
anyv
/
xkeasy
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
anyv
6 years ago
提交
efcee980d4b5fc809669c2cf18ff2f6f255b1fee
1 个父辈
6b4324ea
1 个管道 的构建
通过
耗费 0 秒
5
变更
2
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
8 行增加
和
2 行删除
app/portal/controller/PersonalcenterController.php
public/themes/simpleboot3/portal/personalcenter/my_wallet.html
app/portal/controller/PersonalcenterController.php
查看文件 @
efcee98
...
...
@@ -382,8 +382,13 @@ class PersonalcenterController extends WeChatBaseController{
$_POST
[
'create_time'
]
=
time
();
$_POST
[
'state'
]
=
0
;
$data
=
Db
::
name
(
'money_expend'
)
->
insert
(
$_POST
);
$money_expend
=
Db
::
name
(
'money_expend'
)
->
where
(
'uid'
,
$_POST
[
'uid'
])
->
select
();
$money
=
0
;
foreach
(
$money_expend
as
$key
=>
$val
){
$money
+=
$val
[
'money'
];
}
if
(
$data
){
return
true
;
return
$money
;
}
else
{
return
false
;
}
...
...
public/themes/simpleboot3/portal/personalcenter/my_wallet.html
查看文件 @
efcee98
...
...
@@ -64,7 +64,7 @@
<img
src=
"__TMPL__/public/assets/images/62.png"
alt=
""
/>
</div>
<div
class=
"nine_money_explain_title"
>
正在提现额度:
2174.21
正在提现额度:
<span
id=
"tixian_money"
></span>
</div>
</div>
</div>
...
...
@@ -158,6 +158,7 @@
}
else
{
$
.
post
(
"{:url('Personalcenter/add_money_expend')}"
,{
money
:
money
},
function
(
data
){
if
(
data
){
$
(
'#tixian_money'
).
test
(
data
);
}
else
{
alert
(
'提交提现失败!'
);
}
...
...
请
注册
或
登录
后发表评论