|
@@ -421,6 +421,7 @@ class Journal extends Core
|
|
|
$applet_type = Dever::input('applet_type');
|
|
|
|
|
|
$this->data['info']['vip_state'] = 1;
|
|
|
+ $this->data['info']['code_state'] = 1;
|
|
|
$version_code = Dever::input('version_code');
|
|
|
if ($version_code) {
|
|
|
$source_type = Dever::input('source_type');
|
|
@@ -429,6 +430,7 @@ class Journal extends Core
|
|
|
$version = Dever::db('main/version')->getOne($version_where);
|
|
|
if ($version && $version['vip'] > 0) {
|
|
|
$this->data['info']['vip_state'] = $version['vip'];
|
|
|
+ $this->data['info']['code_state'] = $version['button'];
|
|
|
}
|
|
|
}
|
|
|
|