Browse Source

no message

master
weigang 6 years ago
parent
commit
21c3649d23
  1. 4
      app/Service/v3/Implementations/DeviceService.php

4
app/Service/v3/Implementations/DeviceService.php

@ -60,8 +60,8 @@ class DeviceService implements DeviceServiceInterface
$market_id = Store::query()->where(['id' => $store_id])->value('market_id');
$sd = SpeakerDevic::query()->updateOrCreate(
['store_id' => $store_id, 'device_name' => $dev_name],
['market_id' => $market_id, 'bind_time' => time(), 'is_bind' => SpeakerDevic::IS_BIND_YES]
['device_name' => $dev_name],
['store_id' => $store_id, 'market_id' => $market_id, 'bind_time' => time(), 'is_bind' => SpeakerDevic::IS_BIND_YES]
);
} catch (\Exception $e) {

Loading…
Cancel
Save