作者 王智

xiugai

@@ -297,4 +297,12 @@ class Common extends Api @@ -297,4 +297,12 @@ class Common extends Api
297 } 297 }
298 dump($CurrentInnate); 298 dump($CurrentInnate);
299 } 299 }
  300 +
  301 +
  302 + public function IsNew()
  303 + {
  304 + $UserId = $this->is_token($this->request->header());
  305 + $is_new = Db::name('user')->where('id', $UserId)->value('is_new');
  306 + $this->success('成功', $is_new);
  307 + }
300 } 308 }