分销商-判断是否是分销商

pull/1/head
674780036@qq.com 12 months ago
parent 3048b9a993
commit a891693107
  1. 2
      app/api/controller/Dealer.php

@ -61,7 +61,7 @@ class Dealer extends Controller
*/ */
public function center(): Json public function center(): Json
{ {
$dealer = $this->dealer->toArray(); $dealer = isset($this->dealer) ? $this->dealer->toArray() : null;
$dealer['update_time'] = date("Y-m-d", strtotime($dealer['update_time'])); $dealer['update_time'] = date("Y-m-d", strtotime($dealer['update_time']));

Loading…
Cancel
Save