You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<?php
namespace App\Service;
/** * 订单状态码 * Class OrderStatus * @package App\Service */class OrderStatus{ const CANCEL = -1; //取消
const UNPAID = 0; //待付款
const PAY_EARNEST = 1; //已付定金
const PAID = 2; //已付全款
const PAID_RETAINAGE = 3; //已付尾款
const OFFLINE_UNPAID= 4; //线下支付未付款
//const OFFLINE_PAID = 5; //线下支付已收款
const REFUNDING = 6; //退款中
const REFUNDED = 7; //退款完成
const SUCCESS = 16; //已完成
public static function array() { return [ self::CANCEL => '已取消', self::UNPAID => '待付款', self::PAY_EARNEST => '已付定金', self::PAID => '已付款', self::PAID_RETAINAGE => '已付尾款', self::REFUNDING => '退款中', self::REFUNDED => '已退款', self::SUCCESS => '已完成', ]; }}
|