40 lines
645 B
PHP
40 lines
645 B
PHP
<?php
|
|
|
|
|
|
namespace app\common\enum;
|
|
|
|
|
|
class OrderEnum
|
|
{
|
|
/**
|
|
* 流水类型
|
|
* @USER_ORDER_PAY 用户订单支付
|
|
* @MERCHANT_ORDER_OBTAINS 商户订单获得
|
|
* @ORDER_HANDLING_FEES 订单手续费
|
|
*/
|
|
const USER_ORDER_PAY = 1;
|
|
const MERCHANT_ORDER_OBTAINS = 2;
|
|
const ORDER_HANDLING_FEES = 3;
|
|
|
|
/**
|
|
* 收入支出类型
|
|
* @EXPENDITURE 支出
|
|
* @INCOME 收入
|
|
*/
|
|
const EXPENDITURE =0;
|
|
const INCOME =1;
|
|
|
|
/**
|
|
* 账户类型
|
|
* @USER 用户
|
|
* @MERCHANT 商户
|
|
* @PLATFORM 平台
|
|
*/
|
|
const USER =0;
|
|
const MERCHANT =1;
|
|
const PLATFORM =2;
|
|
|
|
|
|
|
|
|
|
} |