rabin 7 years ago
parent
commit
136538b3e9
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tm/lib/Controller/EventsController.class.php

+ 4 - 0
tm/lib/Controller/EventsController.class.php

@@ -87,6 +87,10 @@ class EventsController extends Controller {
 		$plat_form_id = $this->getPlatFormId();
 		$thisUrl  = $this->objMLottery -> getEventsUrl($info['type'],$info['create_time'],$url);
 
+		$type = Request::g('type');
+		if ($type == 'share' && !strstr($thisUrl, 'share')) {
+			$thisUrl .= '/share';
+		}
 		$loginUrl = $this -> getLoginUrl($thisUrl);
 		$info['thisUrl'] = $thisUrl;
 		$this->setOutput('thisUrl', $thisUrl);