Silent 6 éve
szülő
commit
130c25b91f
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      app/Http/Controllers/WeChat/ApiController.php

+ 1 - 1
app/Http/Controllers/WeChat/ApiController.php

xqd xqd
@@ -205,7 +205,6 @@ class ApiController extends Controller
         $res = $client->get($url);
         $res = json_decode((string)$res->getBody());
         $result = 'no';
-        dd($res);
         if($res->status == 0) {
             $radius = Setting::where('key', 'check_card_radius')->first();
             $radius = empty($radius) ? 1000 : $radius->value;
@@ -214,6 +213,7 @@ class ApiController extends Controller
                 $result = 'ok';
             }
         }
+        dd($res, $result);
         $now = Carbon::today()->toDateTimeString();
         $checkCard = CheckCard::where([
             ['begin_date_time', '>', $now]