12345678910111213141516171819202122232425262728 |
- <?php
- /**
- * [WeEngine System] Copyright (c) 2014 WE7.CC
- * WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.
- */
- defined('IN_IA') or exit('Access Denied');
- class AliappAccount extends WeAccount {
- protected $tablename = 'account_aliapp';
- protected $menuFrame = 'wxapp';
- protected $type = ACCOUNT_TYPE_ALIAPP_NORMAL;
- protected $typeName = '支付宝小程序';
- protected $typeTempalte = '-aliapp';
- protected $typeSign = ALIAPP_TYPE_SIGN;
- protected $supportVersion = STATUS_ON;
- protected function getAccountInfo($acid) {
- return table('account_aliapp')->getAccount($acid);
- }
- public function checkIntoManage() {
- if (empty($this->account) || (!empty($this->account['account']) && $this->account['type'] != ACCOUNT_TYPE_ALIAPP_NORMAL && !defined('IN_MODULE'))) {
- return false;
- }
- return true;
- }
- }
|