rabin 6 years ago
parent
commit
5e12b5c032
1 changed files with 2 additions and 3 deletions
  1. 2 3
      buy/src/Base.php

+ 2 - 3
buy/src/Base.php

@@ -80,11 +80,10 @@ class Base
             $cate['logotxt'] = '<img src="'.$cate['logo'].'" />' . $cate['name'];
 
             $url = urlencode($this->url('list'));
-            $system_id = 1;
             if ($this->cate == 2) {
-                $system_id = 2;
+                $this->account = 3;
             }
-            $cate['login'] = 'location.href=\'' . Dever::url('request.auth?account='.$this->account.'&system='.$system_id.'&source='.$this->source.'&refer=' . $url, 'oauth') . '\'';
+            $cate['login'] = 'location.href=\'' . Dever::url('request.auth?account='.$this->account.'&source='.$this->source.'&refer=' . $url, 'oauth') . '\'';
 
             $info = Dever::db('journal/info')->getOne($cate['journal_id']);