|
|
@@ -51,7 +51,7 @@ class DispatchService
|
|
|
$this->adapters['shunfeng'] = new ShunfengAdapter($pt, $pt['shopId']);
|
|
|
break;
|
|
|
case 'dada':
|
|
|
- $this->adapters['dada'] = new DadaAdapter($pt['accessToken'], $pt['shopId']);
|
|
|
+ $this->adapters['dada'] = new DadaAdapter($pt['accessToken'], $pt['shopId'], $pt['merchantId']);
|
|
|
//$this->adapters['dada']->setShopNo($pt['shopId']);
|
|
|
//$this->adapters['dada']->setSourceId($pt['merchantId']); // 用 merchanId 来保存 sourceId
|
|
|
break;
|
|
|
@@ -88,7 +88,7 @@ class DispatchService
|
|
|
$this->adapters['shunfeng'] = new ShunfengAdapter($authPlatform, $authPlatform['shopId']);
|
|
|
break;
|
|
|
case 'dada':
|
|
|
- $this->adapters['dada'] = new DadaAdapter($authPlatform['accessToken'], $authPlatform['shopId']);
|
|
|
+ $this->adapters['dada'] = new DadaAdapter($authPlatform['accessToken'], $authPlatform['shopId'], $authPlatform['merchantId']);
|
|
|
//$this->adapters['dada']->setShopNo($authPlatform['shopId']);
|
|
|
//$this->adapters['dada']->setSourceId($authPlatform['merchantId']); // 用 merchanId 来保存 sourceId
|
|
|
break;
|