ztt 9 months ago
parent cd7188964d
commit 2d4beee679
  1. 2
      app/api/model/Server/ServerOrder.php

@ -220,7 +220,7 @@ class ServerOrder extends Order
$query = $this;
// 非店长不带入user_id查询
if (!UserService::isStore()) {
$query->where('user_id', '=', $userId);
$query = $query->where('user_id', '=', $userId);
}
return $query->where($dataTypeFilter)
->where('is_delete', '=', 0)

Loading…
Cancel
Save