diff --git a/webapp/controller/PayController.class.php b/webapp/controller/PayController.class.php index e77c40c..f221821 100644 --- a/webapp/controller/PayController.class.php +++ b/webapp/controller/PayController.class.php @@ -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( diff --git a/webapp/controller/ServerSwitchController.class.php b/webapp/controller/ServerSwitchController.class.php new file mode 100644 index 0000000..c0c3dd6 --- /dev/null +++ b/webapp/controller/ServerSwitchController.class.php @@ -0,0 +1,14 @@ + 0, + 'errmsg' => '', + 'payable' => 1 + )); + } + +}