vendor_user/uc_client/control/user.php
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
/*
[UCenter] (C)2001-2099 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: user.php 1082 2011-04-07 06:42:14Z svn_project_zhangjie $
*/
!defined('IN_UC') && exit('Access Denied');
define('UC_USER_CHECK_USERNAME_FAILED', -1);
define('UC_USER_USERNAME_BADWORD', -2);
define('UC_USER_USERNAME_EXISTS', -3);
define('UC_USER_EMAIL_FORMAT_ILLEGAL', -4);
define('UC_USER_EMAIL_ACCESS_ILLEGAL', -5);
define('UC_USER_EMAIL_EXISTS', -6);
class usercontrol extends base
{
public function __construct()
{
$this->usercontrol();
}
public function usercontrol()
{
parent::__construct();
$this->load('user');
$this->app = $this->cache['apps'][UC_APPID];
}
// -1 未开启
public function onsynlogin()
{
$this->init_input();
$uid = $this->input('uid');
if ($this->app['synlogin']) {
if ($this->user = $_ENV['user']->get_user_by_uid($uid)) {
$synstr = '';
foreach ($this->cache['apps'] as $appid => $app) {
if ($app['synlogin'] && $app['appid'] != $this->app['appid']) {
$synstr .= '<script type="text/javascript" src="'.$app['url'].'/api/uc.php?time='.$this->time.'&code='.urlencode($this->authcode('action=synlogin&username='.$this->user['username'].'&uid='.$this->user['uid'].'&password='.$this->user['password'].'&time='.$this->time, 'ENCODE', $app['authkey'])).'"></script>';
}
}
return $synstr;
}
}
return '';
}
public function onsynlogout()
{
$this->init_input();
if ($this->app['synlogin']) {
$synstr = '';
foreach ($this->cache['apps'] as $appid => $app) {
if ($app['synlogin'] && $app['appid'] != $this->app['appid']) {
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。