You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
payment/app/Model/User.php

17 lines
348 B
PHTML

1 year ago
<?php
declare(strict_types=1);
namespace App\Model;
class User extends Model
{
protected $table = 'users';
1 year ago
11 months ago
public static function getPlatformAccount($isAccountPay) {
if ($isAccountPay) {
11 months ago
return self::where('user_id', 'ACT_4')->first();
11 months ago
}
1 year ago
return self::where('is_platform_account', 1)->first();
}
1 year ago
}