|
@@ -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']);
|
|
|
|