function devSignGeneral($data, $secretKey)
{
unset($data['sign']);
// Sort the data by key
ksort($data);
// Convert the data to a query string
$queryString = http_build_query($data);
// Add the secret key to the query string
$queryString .= $secretKey;
// Generate the signature using the SHA256 algorithm
$signature = hash('sha256', $queryString);
// Return the signature
return $signature;
}