add Platform description in install

pull/128/head
root 2020-08-18 10:38:41 +08:00
parent 0a7887409c
commit cfda210fdc
5 changed files with 5 additions and 3 deletions

View File

@ -299,7 +299,7 @@ function SetbaseConfig($Envs, $accountId, $region, $service_name, $function_name
ksort($tmp_env);
$tmpdata['functionName'] = $function_name;
$tmpdata['description'] = 'Onedrive index and manager in Ali FC.';
$tmpdata['description'] = 'Onedrive index and manager in Aliyun FC.';
$tmpdata['memorySize'] = 128;
$tmpdata['timeout'] = 30;
$tmpdata['runtime'] = 'php7.2';

View File

@ -366,6 +366,7 @@ function SetbaseConfig($Envs, $HW_urn, $HW_key, $HW_secret)
$tmpdata['memory_size'] = 128;
$tmpdata['runtime'] = 'PHP7.3';
$tmpdata['timeout'] = 30;
$tmpdata['description'] = 'Onedrive index and manager in Huawei FG.';
$tmpdata['user_data'] = json_encode($tmp_env);
$req->body = json_encode($tmpdata);
$curl = $signer->Sign($req);

View File

@ -429,6 +429,7 @@ function SetbaseConfig($Envs, $HW_urn, $HW_key, $HW_secret)
$tmpdata['memory_size'] = 128;
$tmpdata['runtime'] = 'PHP7.3';
$tmpdata['timeout'] = 30;
$tmpdata['description'] = 'Onedrive index and manager in Huawei FG.';
$tmpdata['user_data'] = json_encode($envs);
$req->body = json_encode($tmpdata);
$curl = $signer->Sign($req);

View File

@ -377,7 +377,7 @@ function SetbaseConfig($Envs, $function_name, $Region, $Namespace, $SecretId, $S
$tmpdata['Timestamp'] = time();
$tmpdata['Token'] = '';
$tmpdata['Version'] = '2018-04-16';
$tmpdata['Description'] = 'Onedrive index and manager in SCF.';
$tmpdata['Description'] = 'Onedrive index and manager in Tencent SCF.';
$tmpdata['MemorySize'] = 64;
$tmpdata['Timeout'] = 30;
$data = ReorganizeDate($tmpdata);

View File

@ -425,7 +425,7 @@ function SetbaseConfig($Envs, $function_name, $Region, $Namespace, $SecretId, $S
$tmpdata['Timestamp'] = time();
$tmpdata['Token'] = '';
$tmpdata['Version'] = '2018-04-16';
$tmpdata['Description'] = 'Onedrive index and manager in SCF.';
$tmpdata['Description'] = 'Onedrive index and manager in Tencent SCF.';
$tmpdata['MemorySize'] = 64;
$tmpdata['Timeout'] = 30;
$data = ReorganizeDate($tmpdata);