Browse Source

支付方式常量

dev
李可松 5 years ago
parent
commit
ba47c3ca16
  1. 30
      app/Common/PayType.php

30
app/Common/PayType.php

@ -0,0 +1,30 @@
<?php
namespace App\Common;
/**
* 支付方式常量
* Class PayType
* @package App\Common
*/
class PayType
{
const ONLINE = 0; //在线支付
const OFFLINE = 1; //线下支付
const SUBSCRIPTION = 2; //订金支付
const DEPOSIT = 3; //定金支付
const FULL_PAY = 4; //全款支付
const BALANCE_PAY = 5; //尾款/多加支付
public static function array()
{
return [
self::ONLINE => '在线支付',
self::OFFLINE => '线下支付',
self::SUBSCRIPTION => '订金支付',
self::DEPOSIT => '定金支付',
self::FULL_PAY => '全款支付',
self::BALANCE_PAY => '尾款/多加支付',
];
}
}
Loading…
Cancel
Save