1
This commit is contained in:
@@ -161,13 +161,27 @@ class Welcome extends CI_Controller {
|
||||
return self::parseBinary2HexStr($encrypted);
|
||||
}
|
||||
|
||||
public function tt()
|
||||
public function t1()
|
||||
{
|
||||
$key = "B066+uPhhihfn0CLrU5Cpw==";
|
||||
$data = "0534_1716970275384";
|
||||
$data = "0534_1729650980126_1729650980126";
|
||||
$encryptedData = $this->encryptData($data, $key);
|
||||
echo "加密内容:" . $encryptedData . "\n";
|
||||
echo "加密内容:" . strtoupper($encryptedData) . "\n";
|
||||
}
|
||||
|
||||
public function t2()
|
||||
{
|
||||
$key = "MMrPzdpMKIVcQBOiQN/uoQ==";
|
||||
$mobile = "13012341234";
|
||||
$encryptedData = $this->encryptData($mobile, $key);
|
||||
echo "手机号加密内容:" . strtoupper($encryptedData) . "\n";
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -30,8 +30,8 @@ class Enter extends CI_Controller
|
||||
}
|
||||
$this->data['skey'] = $this->skey;
|
||||
|
||||
if($this->skey == 'dG9waWNfaWQ9Ng'){
|
||||
debug_log("params:". json_encode($this->input->get()), 'auto.txt');
|
||||
if($this->skey == 'dG9waWNfaWQ9Ng' || $this->skey == 'dG9waWNfaWQ9Nw'){
|
||||
debug_log("params:". json_encode($this->input->get()), 'auto1.txt');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ class Welcome extends Wx
|
||||
}
|
||||
$this->data['skey'] = $this->skey;
|
||||
|
||||
if($this->skey == 'dG9waWNfaWQ9Ng'){
|
||||
if($this->skey == 'dG9waWNfaWQ9Ng' || $this->skey == 'dG9waWNfaWQ9Nw'){
|
||||
debug_log("params:". json_encode($this->input->get()), 'auto.txt');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user