core/library/think/process/bhvcore/BhvuserABegin.php
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
namespace think\process\bhvcore;
/**
* 系统行为扩展:新增/更新/删除之后的后置操作
*/
load_trait('controller/Jump');
class BhvuserABegin {
use \traits\controller\Jump;
protected static $actionName;
protected static $controllerName;
protected static $moduleName;
protected static $method;
protected static $code;
/**
* 构造方法
* @param Request $request Request对象
* @access public
*/
public function __construct()
{
}
// 行为扩展的执行入口必须是run
public function run(&$params){
self::$actionName = request()->action();
self::$controllerName = request()->controller();
self::$moduleName = request()->module();
self::$method = request()->method();
$this->_initialize();
}
private function _initialize() {
if ('GET' == self::$method) {
$this->checkspview();
}
}
/**
* @access protected
*/
private function checkspview()
{
$c = array_join_string(array('U2hvcA=='));
$c1 = array_join_string(array('VXNlcnNSZWxlYXNl'));
if (in_array(self::$controllerName, [$c,$c1])) {
$name = array_join_string(array('d2ViX2lzX2F1dGhvcnRva2Vu'));
$inc_type = array_join_string(array('d','2','V','i'));
$value = tpCache($inc_type.'.'.$name);
$value = !empty($value) ? intval($value)*6 : 0;
$domain = request()->host();
$sip = gethostbyname($_SERVER["SERVER_NAME"]);
$name2 = array_join_string(array('cGhwLnBocF9zZXJ2aWNlbWVhbA=='));
$value2 = tpCache($name2);
if (-6 != $value && 1 <= $value2) {
} else {
后面还有 12 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
