Silent %!s(int64=7) %!d(string=hai) anos
pai
achega
06e88a09f1
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app/Http/Controllers/Admin/SettingController.php

+ 2 - 2
app/Http/Controllers/Admin/SettingController.php

xqd
@@ -53,8 +53,8 @@ class SettingController extends Controller
 
     public function system(Request $request)
     {
-        $check_card_location = $this->model->firstOrCreate(['key' => 'check_card_location'], ['key_show' => '39.916527,116.397128']);
-        $check_card_radius = $this->model->firstOrCreate(['key' => 'check_card_radius'], ['key_show' => '1000']);
+        $check_card_location = $this->model->firstOrCreate(['key' => 'check_card_location'], ['value' => '39.916527,116.397128']);
+        $check_card_radius = $this->model->firstOrCreate(['key' => 'check_card_radius'], ['value' => '1000']);
 
         list($pre_uri, $model, $model_name) = array($this->pre_uri, $this->model, $this->model_name);