|
@@ -30,7 +30,7 @@ use Cas\Dao\LotteryUserHelpLog;
|
|
|
*
|
|
|
*/
|
|
|
class EventsController extends Controller {
|
|
|
- private $userCookieName = "USER_INFO_2";
|
|
|
+ private $userCookieName = "USER_INFO_1";
|
|
|
private $key;
|
|
|
public function __construct() {
|
|
|
$this->key = Config::getInstance ()->get ( 'passport_sign_key' );
|
|
@@ -287,14 +287,8 @@ class EventsController extends Controller {
|
|
|
$this->setOutput('helpDataTotal', $total_num);
|
|
|
|
|
|
|
|
|
- $url = Request::g('url');
|
|
|
- $plat_form_id = $this->getPlatFormId();
|
|
|
- $thisUrl = $this->objMLottery -> getEventsUrl($info['type'],$info['create_time'],$url);
|
|
|
-
|
|
|
- $thisUrl .= '/share?events_id='.$events_id.'&help_id='.$id.'&help_session='.$session.'&source_user=' . $uid;
|
|
|
+ $thisUrl = $info['thisUrl'] . '/share?events_id='.$events_id.'&help_id='.$id.'&help_session='.$session.'&source_user=' . $uid;
|
|
|
$loginUrl = $this -> getLoginUrl($thisUrl);
|
|
|
- $info['thisUrl'] = $thisUrl;
|
|
|
- $this->setOutput('thisUrl', $thisUrl);
|
|
|
$this->setOutput('loginUrl', $loginUrl);
|
|
|
}
|
|
|
}
|