|
@@ -73,14 +73,12 @@ class Data
|
|
|
$this->data = Dever::load('passport/user')->data();
|
|
|
if (!$this->data) {
|
|
|
$url = Dever::url('home', 'service');
|
|
|
- //Dever::location($url);
|
|
|
- //return;
|
|
|
+ Dever::location($url);
|
|
|
+ return;
|
|
|
} else {
|
|
|
$this->data['uid'] = $this->data['id'];
|
|
|
}
|
|
|
|
|
|
- $this->data['uid'] = 4;
|
|
|
-
|
|
|
$type = 4;
|
|
|
|
|
|
$scene = Dever::login($this->data['uid']) . ',' . $type . ',' . $id;
|
|
@@ -137,14 +135,12 @@ class Data
|
|
|
$this->data = Dever::load('passport/user')->data();
|
|
|
if (!$this->data) {
|
|
|
$url = Dever::url('home', 'service');
|
|
|
- //Dever::location($url);
|
|
|
- //return;
|
|
|
+ Dever::location($url);
|
|
|
+ return;
|
|
|
} else {
|
|
|
$this->data['uid'] = $this->data['id'];
|
|
|
}
|
|
|
|
|
|
- $this->data['uid'] = 4;
|
|
|
-
|
|
|
$buy_id = Dever::input('buy_id');
|
|
|
$journal_id = Dever::input('journal_id');
|
|
|
|