master
elf 2 years ago
parent c4b6dd57ba
commit 0d3415b410

@ -10,6 +10,13 @@ class Config
'totalBizType' => 'BIZ01106',
];
/* private static $params = [
'baseUrl' => 'https://www.sumapay.com',
'merchantCode' => '4610000027',
'secretKey' => 'yT6tyOw0R0QqCccnChQyd4YJKKkM5czM',
'totalBizType' => 'BIZ01104',
]; */
public static function get($key, $default = null)
{
return self::$params[$key] ?? $default;

@ -49,7 +49,7 @@ class Request
}
public function getUrl() {
return Config::get('base_url') . $this->url;
return Config::get('baseUrl') . $this->url;
}
private function strToEncoding($str, $encoding) {

Loading…
Cancel
Save