|
@@ -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;
|