瀏覽代碼

[LeBonCoinBridge] Add cities support (#751)

sublimz 5 年之前
父節點
當前提交
f92ac49947
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      bridges/LeBonCoinBridge.php

+ 2 - 0
bridges/LeBonCoinBridge.php

@@ -42,6 +42,7 @@ class LeBonCoinBridge extends BridgeAbstract {
 					'Réunion' => '26'
 				)
 			),
+			'cities' => array('name' => 'Ville'),
 			'c' => array(
 				'name' => 'Catégorie',
 				'type' => 'list',
@@ -154,6 +155,7 @@ class LeBonCoinBridge extends BridgeAbstract {
 		$params = array(
 			'text' => $this->getInput('k'),
 			'region' => $this->getInput('r'),
+			'cities' => $this->getInput('cities'),
 			'category' => $this->getInput('c'),
 			'owner_type' => $this->getInput('o'),
 		);