<?php
defined('IN_IA') or exit('Access Denied');
class ToutiaoappAccount extends WeAccount {
protected $tablename = 'account_toutiaoapp';
protected $menuFrame = 'wxapp';
protected $type = ACCOUNT_TYPE_TOUTIAOAPP_NORMAL;
protected $typeName = '头条小程序';
protected $typeTempalte = '-toutiaoapp';
protected $typeSign = TOUTIAOAPP_TYPE_SIGN;
protected $supportVersion = STATUS_ON;
protected function getAccountInfo($acid) {
return table('account_toutiaoapp')->getAccount($acid);
}
public function checkIntoManage() {
if (empty($this->account) || (!empty($this->account['account']) && $this->account['type'] != ACCOUNT_TYPE_TOUTIAOAPP_NORMAL && !defined('IN_MODULE'))) {
return false;
}
return true;
}
}