vendor_user/uc_client/model/app.php

(开头部分) 883B

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?php

/*
    [UCenter] (C)2001-2099 Comsenz Inc.
    This is NOT a freeware, use is subject to license terms

    $Id: app.php 1059 2011-03-01 07:25:09Z monkey $
*/

!defined('IN_UC') && exit('Access Denied');

class appmodel
{
    public $db;
    public $base;

    public function __construct(&$base)
    {
        $this->appmodel($base);
    }

    public function appmodel(&$base)
    {
        $this->base = $base;
        $this->db = $base->db;
    }

    public function get_apps($col = '*', $where = '')
    {
        $arr = $this->db->fetch_all("SELECT $col FROM ".UC_DBTABLEPRE.'applications'.($where ? ' WHERE '.$where : ''), 'appid');
        foreach ($arr as $k => $v) {
            isset($v['extra']) && !empty($v['extra']) && $v['extra'] = unserialize($v['extra']);
            unset($v['authkey']);
            $arr[$k] = $v;
        }

        return $arr;
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。