|
|
@@ -112,7 +112,9 @@ class DeliveryController extends BaseController
|
|
|
{
|
|
|
$huoLalaAuth = new \common\components\delivery\platform\huolala\Auth();
|
|
|
$mainId = $this->mainId;
|
|
|
- $apiHost = Yii::$app->params['ghsHost'];
|
|
|
+ // $apiHost = Yii::$app->params['ghsHost'];
|
|
|
+ // TODO 暂时修改为测试环境
|
|
|
+ $apiHost = 'https://api.shop.hzghd.com';
|
|
|
$redirectUrl = $apiHost . '/delivery/huolala-auth-callback' . '?mainId=' . $mainId;
|
|
|
$authUrl = $huoLalaAuth->generateAuthUrl($redirectUrl);
|
|
|
|