Update alifc.php
parent
a79d9124eb
commit
67fd66dc46
|
@ -116,13 +116,6 @@ function setConfig($arr, $disktag = '')
|
||||||
return $response;
|
return $response;
|
||||||
}
|
}
|
||||||
|
|
||||||
function WaitSCFStat()
|
|
||||||
{
|
|
||||||
$trynum = 0;
|
|
||||||
while( getfunctioninfo($_SERVER['accountId'], $_SERVER['region'], $_SERVER['service_name'], $_SERVER['function_name'], getConfig('AccessKeyID'), getConfig('AccessKeySecret')) ) echo '
|
|
||||||
'.++$trynum;
|
|
||||||
}
|
|
||||||
|
|
||||||
function install()
|
function install()
|
||||||
{
|
{
|
||||||
global $constStr;
|
global $constStr;
|
||||||
|
@ -321,7 +314,7 @@ function updateProgram($accountId, $region, $service_name, $function_name, $Acce
|
||||||
|
|
||||||
function api_error($response)
|
function api_error($response)
|
||||||
{
|
{
|
||||||
return isset($response['Error']);
|
return !isset($response['data']);
|
||||||
}
|
}
|
||||||
|
|
||||||
function api_error_msg($response)
|
function api_error_msg($response)
|
||||||
|
@ -337,8 +330,7 @@ namespace:' . $_SERVER['namespace'] . '<br>
|
||||||
|
|
||||||
function setConfigResponse($response)
|
function setConfigResponse($response)
|
||||||
{
|
{
|
||||||
return json_encode($response, JSON_PRETTY_PRINT);
|
return $response;
|
||||||
return json_decode( $response, true );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function OnekeyUpate($auth = 'qkqpttgf', $project = 'OneManager-php', $branch = 'master')
|
function OnekeyUpate($auth = 'qkqpttgf', $project = 'OneManager-php', $branch = 'master')
|
||||||
|
|
Loading…
Reference in New Issue