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;