31 lines
592 B
PHP
31 lines
592 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace app;
|
||
|
|
|
||
|
|
class Constant
|
||
|
|
{
|
||
|
|
public static $CACHE_ACCESS_TOKEN = 'CACHE_ACCESS_TOKEN';
|
||
|
|
public static $ORDER_S_PTR = 'ORDER_S_PTR';
|
||
|
|
public static $ORDER_PAY_STAUS = [
|
||
|
|
"init" => [
|
||
|
|
"text" => "待支付",
|
||
|
|
"value" => "init"
|
||
|
|
],
|
||
|
|
"payed" => [
|
||
|
|
"text" => "已支付",
|
||
|
|
"value" => "payed"
|
||
|
|
],
|
||
|
|
"cancel" => [
|
||
|
|
"text" => "已取消",
|
||
|
|
"value" => "cancel"
|
||
|
|
],
|
||
|
|
"need_refund" => [
|
||
|
|
"text" => "待退款",
|
||
|
|
"value" => "need_refund"
|
||
|
|
],
|
||
|
|
"refund" => [
|
||
|
|
"text" => "已退款",
|
||
|
|
"value" => "refund"
|
||
|
|
]
|
||
|
|
];
|
||
|
|
}
|