Skip to content

Commit 2aff9e9

Browse files
committed
增加“配置设备与其他公众账号门店的关联关系”接口
1 parent 11db2a9 commit 2aff9e9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Wechat/WechatDevice.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ class WechatDevice extends Common {
1717
const SHAKEAROUND_DEVICE_UPDATE = '/shakearound/device/update?'; //编辑设备信息
1818
const SHAKEAROUND_DEVICE_SEARCH = '/shakearound/device/search?'; //查询设备列表
1919
const SHAKEAROUND_DEVICE_BINDLOCATION = '/shakearound/device/bindlocation?'; //配置设备与门店ID的关系
20-
const SHAKEAROUND_DEVICE_BINDLOCATION_OTHER = '/shakearound/device/bindlocation?'; //配置设备与其他公众账号门店的关联关系
2120
const SHAKEAROUND_DEVICE_BINDPAGE = '/shakearound/device/bindpage?'; //配置设备与页面的绑定关系
2221
const SHAKEAROUND_MATERIAL_ADD = '/shakearound/material/add?'; //上传摇一摇图片素材
2322
const SHAKEAROUND_PAGE_ADD = '/shakearound/page/add?'; //增加页面
@@ -168,7 +167,7 @@ public function bindLocationOtherShakeAroundDevice($device_identifier,$poi_id,$p
168167
return false;
169168
}
170169
$data = array('device_identifier' => $device_identifier, 'poi_id' => $poi_id,"type"=>2,"poi_appid"=>$poi_appid);
171-
$result = Tools::httpPost(self::API_BASE_URL_PREFIX . self::SHAKEAROUND_DEVICE_BINDLOCATION_OTHER . "access_token={$this->access_token}", Tools::json_encode($data));
170+
$result = Tools::httpPost(self::API_BASE_URL_PREFIX . self::SHAKEAROUND_DEVICE_BINDLOCATION . "access_token={$this->access_token}", Tools::json_encode($data));
172171
if ($result) {
173172
$json = json_decode($result, true);
174173
if (!$json || !empty($json['errcode'])) {

0 commit comments

Comments
 (0)