diff --git a/function/scf.php b/function/scf.php
index 382a1ad..19e2e5e 100644
--- a/function/scf.php
+++ b/function/scf.php
@@ -139,6 +139,7 @@ function install()
if ($_GET['install1']) {
//if ($_POST['admin']!='') {
$tmp['language'] = $_POST['language'];
+ $tmp['Region'] = $_POST['Region'];
$SecretId = getConfig('SecretId');
if ($SecretId=='') {
$SecretId = $_POST['SecretId'];
@@ -149,7 +150,7 @@ function install()
$SecretKey = $_POST['SecretKey'];
$tmp['SecretKey'] = $SecretKey;
}
- $response = json_decode(SetbaseConfig($tmp, $_SERVER['function_name'], $_SERVER['Region'], $_SERVER['namespace'], $SecretId, $SecretKey), true)['Response'];
+ $response = json_decode(SetbaseConfig($tmp, $_SERVER['function_name'], $_POST['Region'], $_SERVER['namespace'], $SecretId, $SecretKey), true)['Response'];
if (api_error($response)) {
$html = api_error_msg($response);
$title = 'Error';
@@ -188,6 +189,21 @@ language:
';
';
$html .= '
+ (腾讯几个月了还不做出来,只能先弄选择了)