Kaynağa Gözat

feat():授权

geek 4 yıl önce
ebeveyn
işleme
f6dbdef292
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      application/index/controller/Index.php

+ 2 - 0
application/index/controller/Index.php

@@ -32,6 +32,8 @@ class Index {
         }
         $model = new VisitorModel();
         $visitorInfo = $model::where(['unionid' => Session::get('wxId')])->find();
+        var_dump($visitorInfo);
+        die();
         if (empty($visitorInfo)) {
             $model->insertGetId([
                 'visitorId' => $visitorId,