Commit 17819499 authored by houdong's avatar houdong

bug

parent 7219ebb6
...@@ -24,15 +24,16 @@ class PkTopAction extends IdentityAction{ ...@@ -24,15 +24,16 @@ class PkTopAction extends IdentityAction{
if(in_array(ACTION_NAME,['index','choujiang','phbWeek','phbOther','phbTrade'])){ if(in_array(ACTION_NAME,['index','choujiang','phbWeek','phbOther','phbTrade'])){
$groupId =$this->GID; $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); $groupStatus = $this->getGroupStatus($groupInfo);
// $share = ['groupId' => $groupId, 'groupStatus' => $groupStatus, 'viewPage' => 2, 'statusInt' => $groupStatus, $share = ['groupId' => $groupId, 'groupStatus' => $groupStatus, 'viewPage' => 2, 'statusInt' => $groupStatus,
// 'close_tips' => '','zhuangtai' => $this->STATUS_TXT[$groupStatus]]; 'close_tips' => '','zhuangtai' => $this->STATUS_TXT[$groupStatus]];
// $share['userID']=$userId?$userId:''; $share['userID']=$userId?$userId:'';
//
// $groupInfo = array_merge($groupInfo, $share); $groupInfo = array_merge($groupInfo, $share);
// $this->assign('groupInfo', json_encode($groupInfo)); $this->assign('groupInfo', json_encode($groupInfo));
//设置分享参数 //设置分享参数
$this->setShare($userId, I('cfrom')); $this->setShare($userId, I('cfrom'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment