Silent 6 năm trước cách đây
mục cha
commit
06e88a09f1

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

@@ -53,8 +53,8 @@ class SettingController extends Controller
 
 
     public function system(Request $request)
     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);
         list($pre_uri, $model, $model_name) = array($this->pre_uri, $this->model, $this->model_name);