diff --git a/service/app/admin/controller/ProductsController.php b/service/app/admin/controller/ProductsController.php index ad9a86c1..48f02a94 100644 --- a/service/app/admin/controller/ProductsController.php +++ b/service/app/admin/controller/ProductsController.php @@ -45,7 +45,7 @@ class ProductsController extends base { return $this->error(2001, '线路id必填'); } - $where = ['os' => $request->get('os'), 'third_product_id' => $request->get('third_product_id')]; + $where = ['os' => $request->post('os'), 'third_product_id' => $request->post('third_product_id')]; $product = (new Products())->where($where)->find(); if (!empty($product)) { return $this->error(2002, '线路已存在'); diff --git a/service/app/server/Orders.php b/service/app/server/Orders.php index b8c5ce4c..504c63ad 100644 --- a/service/app/server/Orders.php +++ b/service/app/server/Orders.php @@ -315,9 +315,6 @@ class Orders { return []; } $users = Admins::where('status', 1)->where('is_order', 1)->whereFindInSet('product_ids', $product->id)->select(); - if ($thirdProductId == '1128292503') { - Log::info(' 1128292503 find not one...' . json_encode($product)); - } $us = []; foreach ($users as $u) { $ru = Redis::get('CRM:USER:ONLINE:' . $u->id);