Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eduline
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
eduline
Commits
f4801e74
Commit
f4801e74
authored
May 21, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
`试卷`
parent
1827ff70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
apps/home/Lib/Action/UserAction.class.php
+6
-8
No files found.
apps/home/Lib/Action/UserAction.class.php
View file @
f4801e74
...
@@ -74,7 +74,6 @@ class UserAction extends CommonAction
...
@@ -74,7 +74,6 @@ class UserAction extends CommonAction
public
function
index
()
public
function
index
()
{
{
echo
1
;
die
;
$uid
=
$this
->
mid
;
$uid
=
$this
->
mid
;
$limit
=
3
;
$limit
=
3
;
//拼接两个表名
//拼接两个表名
...
@@ -153,13 +152,6 @@ class UserAction extends CommonAction
...
@@ -153,13 +152,6 @@ class UserAction extends CommonAction
$this
->
assign
(
'followcount'
,
$followcount
);
$this
->
assign
(
'followcount'
,
$followcount
);
$this
->
assign
(
'uid'
,
$uid
);
$this
->
assign
(
'uid'
,
$uid
);
$this
->
assign
(
'vip'
,
$vip
);
$this
->
assign
(
'vip'
,
$vip
);
$balancee
=
M
(
'zy_split_balance'
)
->
where
([
'uid'
=>
$this
->
mid
])
->
getField
(
'balance'
);
$this
->
assign
(
'balance'
,
$balancee
);
// 测试用
// 测试用
if
(
$_GET
[
'aaa'
]){
if
(
$_GET
[
'aaa'
]){
$this
->
display
(
'index1'
);
$this
->
display
(
'index1'
);
...
@@ -237,6 +229,12 @@ class UserAction extends CommonAction
...
@@ -237,6 +229,12 @@ class UserAction extends CommonAction
$account
[
'balance'
]
=
$account
[
'balance'
]
?
floatval
(
$account
[
'balance'
])
:
0.00
;
$account
[
'balance'
]
=
$account
[
'balance'
]
?
floatval
(
$account
[
'balance'
])
:
0.00
;
$this
->
assign
(
'userLearnc'
,
$account
);
$this
->
assign
(
'userLearnc'
,
$account
);
$balancee
=
M
(
'zy_split_balance'
)
->
where
([
'uid'
=>
$this
->
mid
])
->
getField
(
'balance'
);
$this
->
assign
(
'balance'
,
$balancee
);
//选择模版
//选择模版
$tab
=
intval
(
$_GET
[
'tab'
]);
$tab
=
intval
(
$_GET
[
'tab'
]);
$tpls
=
array
(
'index'
,
'income'
,
'pay'
,
'take_list'
,
'take'
,
'recharge'
,
'integral_list'
);
$tpls
=
array
(
'index'
,
'income'
,
'pay'
,
'take_list'
,
'take'
,
'recharge'
,
'integral_list'
);
...
...
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