dever 6 年之前
父節點
當前提交
ac01bf6567
共有 1 個文件被更改,包括 8 次插入1 次删除
  1. 8 1
      main/src/Journal_v1.php

+ 8 - 1
main/src/Journal_v1.php

@@ -166,7 +166,14 @@ class Journal_v1 extends Core
         } elseif ($subscribe == 1) {
             $this->data['info']['subscribe'] = 1;
             # 已订阅
-            $this->setButton('read', 1);
+
+            if ($info['ytype'] == 2) {
+                # 预售
+                $this->setButton('read', 3);
+            } else {
+                # 需要购买
+                $this->setButton('read', 1);
+            }
             $this->setButton('buy', 1);
 
             if (checkVersion()->journal_buy == 2) {