dever 7 years ago
parent
commit
bdf5331a02

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

@@ -87,12 +87,6 @@ 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') {
-			$thisUrl .= '/share';
-		}
-		
-
 		$loginUrl = $this -> getLoginUrl($thisUrl);
 		$info['thisUrl'] = $thisUrl;
 		$this->setOutput('loginUrl', $loginUrl);

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

@@ -34,6 +34,7 @@ class Passport extends Controller{
         $host = $this->config['url'];
         $param = $this->config['param'];
 
+        /*
         if ($param) {
         	foreach ($param as $k => $v) {
         		if ($v == '{passport_uid}') {
@@ -48,6 +49,9 @@ class Passport extends Controller{
         		}
 	        }
         }
+        */
+        $param['authorizedCode'] = 'fulishe';
+        $param['tokenId'] = $tokenid;
 
         //echo $this->config['url'] . "\r\n";
 		//print_r($param);