|
@@ -243,7 +243,7 @@ class Journal extends Core
|
|
|
$this->button_old($this->data['info']);
|
|
|
|
|
|
if ($this->data['uid'] > 0) {
|
|
|
- Dever::score($this->data['uid'], 'view_journal', '浏览小刊首页');
|
|
|
+
|
|
|
}
|
|
|
|
|
|
return $this->data;
|
|
@@ -1073,6 +1073,10 @@ class Journal extends Core
|
|
|
Dever::alert('兑换码已被使用');
|
|
|
}
|
|
|
|
|
|
+ if ($info['state'] != 1) {
|
|
|
+ Dever::alert('兑换码已作废');
|
|
|
+ }
|
|
|
+
|
|
|
if ($info['type'] == 4) {
|
|
|
Dever::alert('兑换码已作废');
|
|
|
}
|