|
|
@@ -21,7 +21,7 @@ class Shunfeng
|
|
|
public function __construct($accessToken = '', $shopId = 0)
|
|
|
{
|
|
|
// 根据环境设置基础URL
|
|
|
- if (getenv('YII_ENV') == 'dev') { // TODO 先变更为测试
|
|
|
+ if (getenv('YII_ENV') == 'production') { // TODO 先变更为测试 --- production / dev
|
|
|
$this->baseUrl = 'https://openic.sf-express.com/open/api/external/';
|
|
|
$this->devId = 1594082399;
|
|
|
$this->appSecret = '9025c4f5ad93e8e08e947f02d0cde652';
|