移除套餐/支付

This commit is contained in:
atshike@foxmail.com
2025-12-19 21:51:44 +08:00
parent 06d562928d
commit 016c0f4886
42 changed files with 65 additions and 1767 deletions
@@ -2,7 +2,6 @@
namespace App\Http\Resources;
use App\Enums\UserType;
use Illuminate\Http\Request;
use Illuminate\Http\Resources\Json\JsonResource;
@@ -22,10 +21,6 @@ class UserResource extends JsonResource
'type' => $this->type,
'start_at' => $this->start_at,
'end_at' => $this->end_at,
// 'credit' => $this->credit,
$this->mergeWhen($this->type === UserType::MEMBER, [
'vip_package' => $this->vipPackage,
]),
'parent' => new UserSimpleResource($this->whenLoaded('parent')),
'created_at' => $this->created_at?->format('Y-m-d H:i:s'),
'login_time' => $this->login_time?->format('Y-m-d H:i:s'),