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
17819499
Commit
17819499
authored
Dec 29, 2023
by
houdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
7219ebb6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
PkTopAction.class.php
app/Lib/Action/Vip/PkTopAction.class.php
+8
-7
No files found.
app/Lib/Action/Vip/PkTopAction.class.php
View file @
17819499
...
...
@@ -24,15 +24,16 @@ class PkTopAction extends IdentityAction{
if
(
in_array
(
ACTION_NAME
,[
'index'
,
'choujiang'
,
'phbWeek'
,
'phbOther'
,
'phbTrade'
])){
$groupId
=
$this
->
GID
;
$groupInfo
=
M
(
'Group'
)
->
field
(
'group_id,web_id,category,name,startTime,endTime,member_quantity'
)
->
where
([
'group_id'
=>
$groupId
])
->
find
();
$groupInfo
=
M
(
'Group'
)
->
field
(
'group_id,web_id,category,name,startTime,endTime,member_quantity'
)
->
where
([
'group_id'
=>
$groupId
])
->
find
();
$groupStatus
=
$this
->
getGroupStatus
(
$groupInfo
);
//
$share = ['groupId' => $groupId, 'groupStatus' => $groupStatus, 'viewPage' => 2, 'statusInt' => $groupStatus,
//
'close_tips' => '','zhuangtai' => $this->STATUS_TXT[$groupStatus]];
//
$share['userID']=$userId?$userId:'';
//
//
$groupInfo = array_merge($groupInfo, $share);
//
$this->assign('groupInfo', json_encode($groupInfo));
$share
=
[
'groupId'
=>
$groupId
,
'groupStatus'
=>
$groupStatus
,
'viewPage'
=>
2
,
'statusInt'
=>
$groupStatus
,
'close_tips'
=>
''
,
'zhuangtai'
=>
$this
->
STATUS_TXT
[
$groupStatus
]];
$share
[
'userID'
]
=
$userId
?
$userId
:
''
;
$groupInfo
=
array_merge
(
$groupInfo
,
$share
);
$this
->
assign
(
'groupInfo'
,
json_encode
(
$groupInfo
));
//设置分享参数
$this
->
setShare
(
$userId
,
I
(
'cfrom'
));
...
...
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