1
This commit is contained in:
parent
d5a109e2f1
commit
8e6f3ab49c
@ -421,7 +421,7 @@ class PayController{
|
||||
$timestamp = time();
|
||||
$params['sign'] = phpcommon\md5Sign($params, '06ba97e28ea905b0b7ed5477746b07f1', $timestamp);
|
||||
$params['timestamp'] = $timestamp;
|
||||
$iv = 'wx1dd2f605f4f8496b';
|
||||
$iv = '1dd2f605f4f8496b';
|
||||
$key = 'c868a478c81ff3c168b35d703f787d3c';
|
||||
$str_encoded = '2001_' . base64_encode(phpcommon\aesEncrypt(json_encode($params), $iv, $key));
|
||||
echo json_encode(array(
|
||||
|
14
webapp/controller/ServerSwitchController.class.php
Normal file
14
webapp/controller/ServerSwitchController.class.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
class ServerSwitchController {
|
||||
|
||||
public function getSwitch()
|
||||
{
|
||||
echo json_encode(array(
|
||||
'errcode' => 0,
|
||||
'errmsg' => '',
|
||||
'payable' => 1
|
||||
));
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user