| 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);
|
|
|
|