|
@@ -291,6 +291,9 @@ class Journal_v1 extends Core
|
|
|
if ($version && $version['vip'] > 0) {
|
|
|
$this->data['info']['vip_state'] = $version['vip'];
|
|
|
$this->data['info']['code_state'] = $version['button'];
|
|
|
+ if ($this->source_type == 'ios' && $this->data['info']['code_state'] == 2) {
|
|
|
+ $this->setButton('read', 1);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -320,10 +323,6 @@ class Journal_v1 extends Core
|
|
|
if ($this->source_type == 'ios' && $this->data['info']['id'] == 26) {
|
|
|
$this->setButton('share', -1);
|
|
|
}
|
|
|
-
|
|
|
- if ($this->source_type == 'ios' && $this->data['info']['id'] == 26) {
|
|
|
- $this->setButton('share', -1);
|
|
|
- }
|
|
|
} else {
|
|
|
|
|
|
$applet_type = Dever::input('applet_type');
|
|
@@ -474,7 +473,7 @@ class Journal_v1 extends Core
|
|
|
$info['vip_state'] = $version['vip'];
|
|
|
$info['code_state'] = $version['button'];
|
|
|
|
|
|
- if ($info['code_state'] == 2) {
|
|
|
+ if ($this->source_type == 'ios' && $info['code_state'] == 2) {
|
|
|
$this->setButton('read', 1);
|
|
|
}
|
|
|
}
|