dever 6 years ago
parent
commit
e5474afd67
1 changed files with 8 additions and 0 deletions
  1. 8 0
      main/src/Journal_v1.php

+ 8 - 0
main/src/Journal_v1.php

@@ -320,6 +320,10 @@ 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 {
         	# 小程序下的判断,ios里关闭支付
 	        $applet_type = Dever::input('applet_type');
@@ -469,6 +473,10 @@ class Journal_v1 extends Core
             if ($version && $version['vip'] > 0) {
                $info['vip_state'] = $version['vip'];
                $info['code_state'] = $version['button'];
+
+               if ($info['code_state'] == 2) {
+                    $this->setButton('read', 1);
+               }
             }
         }