|
|
@@ -9,7 +9,7 @@ class Dada
|
|
|
const FORMAT = 'json';
|
|
|
|
|
|
// 测试环境和生产环境基础 URL
|
|
|
- const TEST_BASE_URL = 'https://newopen.qa.imdada.cn';
|
|
|
+ const TEST_BASE_URL = 'https://newopen.ndev.imdada.cn';
|
|
|
const PROD_BASE_URL = 'https://newopen.imdada.cn';
|
|
|
|
|
|
protected $baseUrl;
|
|
|
@@ -33,8 +33,8 @@ class Dada
|
|
|
$this->appSecret = '828a03677a1c00a3a5b3c59209c4433d';
|
|
|
} else {
|
|
|
// 测试环境配置
|
|
|
- $this->baseUrl = self::PROD_BASE_URL; // TODO
|
|
|
- //$this->baseUrl = self::TEST_BASE_URL;
|
|
|
+ // $this->baseUrl = self::PROD_BASE_URL; // TODO
|
|
|
+ $this->baseUrl = self::TEST_BASE_URL;
|
|
|
$this->appKey = 'dadaf2279d901a5ba40';
|
|
|
$this->appSecret = '828a03677a1c00a3a5b3c59209c4433d';
|
|
|
}
|