dever 6 년 전
부모
커밋
dd3827f310
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      main/src/Journal.php

+ 2 - 1
main/src/Journal.php

@@ -152,7 +152,8 @@ class Journal extends Core
             $this->setButton('code', 1, '兑换码阅读');
         }
 
-        if (isset($this->data['config']['ios_pay']) && $this->data['config']['ios_pay'] == 1 && $info['buy'] == 1) {
+        $applet_type = Dever::input('applet_type');
+        if ($applet_type == 2 && isset($this->data['config']['ios_pay']) && $this->data['config']['ios_pay'] == 1 && $info['buy'] == 1) {
             # 关闭支付
             if ($subscribe == 1) {
                 $this->data['info']['subscribe'] = 1;