Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cof_vip
Project
Project
Details
Activity
Releases
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
houdong
cof_vip
Commits
c9bee5eb
Commit
c9bee5eb
authored
Jul 25, 2024
by
houyadong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成员交易逻辑修改-bug
parent
f3900e18
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
UserModel.class.php
app/Lib/Model/UserModel.class.php
+1
-0
No files found.
app/Lib/Model/UserModel.class.php
View file @
c9bee5eb
...
...
@@ -270,6 +270,7 @@ class UserModel extends Model
$entrust_where
[
'userid'
]
=
[
'in'
,
array_keys
(
$top_uid
)];
}
#取委托总条数和页数
$model
=
$getModel
(
$is_xlq
,
$gInfo
);
$today_count
=
$model
->
table
(
$table_name
)
->
where
(
$entrust_where
)
->
cache
(
true
,
3600
)
->
count
();
$his_count
=
$today_count
+
$model
->
table
(
$his_table_name
)
->
where
(
$entrust_where
)
->
cache
(
true
,
3600
)
->
count
();
$today_max_page
=
ceil
(
$today_count
/
$pageSize
);
...
...
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