From 21c3649d2397ffc02a7f71062897aab3517c130d Mon Sep 17 00:00:00 2001 From: weigang Date: Tue, 15 Sep 2020 16:42:34 +0800 Subject: [PATCH] no message --- app/Service/v3/Implementations/DeviceService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Service/v3/Implementations/DeviceService.php b/app/Service/v3/Implementations/DeviceService.php index ddb3917..7cd4668 100644 --- a/app/Service/v3/Implementations/DeviceService.php +++ b/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) {