vendor_user/uc_client/model/note.php

(开头部分) 1KB

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

<?php

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

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

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

define('UC_NOTE_REPEAT', 5);
define('UC_NOTE_TIMEOUT', 15);
define('UC_NOTE_GC', 10000);

define('API_RETURN_FAILED', '-1');

class notemodel
{
    public $db;
    public $base;
    public $apps;
    public $operations = array();
    public $notetype = 'HTTP';

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

    public function notemodel(&$base)
    {
        $this->base = $base;
        $this->db = $base->db;
        $this->apps = $this->base->cache('apps');
        $this->operations = array(
            'test' => array('', 'action=test'),
            'deleteuser' => array('', 'action=deleteuser'),
            'renameuser' => array('', 'action=renameuser'),
            'deletefriend' => array('', 'action=deletefriend'),
            'gettag' => array('', 'action=gettag', 'tag', 'updatedata'),
            'getcreditsettings' => array('', 'action=getcreditsettings'),
            'getcredit' => array('', 'action=getcredit'),
            'updatecreditsettings' => array('', 'action=updatecreditsettings'),
            'updateclient' => array('', 'action=updateclient'),
            'updatepw' => array('', 'action=updatepw'),
            'updatebadwords' => array('', 'action=updatebadwords'),
            'updatehosts' => array('', 'action=updatehosts'),
            'updateapps' => array('', 'action=updateapps'),
            'updatecredit' => array('', 'action=updatecredit'),
        );
    }

    public function get_total_num($all = true)
    {
    }

    public function get_list($page, $ppp, $totalnum, $all = true)
    {
    }

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

AI 解读 AI

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

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