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.
52 lines
838 B
52 lines
838 B
<?php
|
|
|
|
namespace App\Traits;
|
|
|
|
trait WithdrawalTraits
|
|
{
|
|
|
|
public static $userType = [
|
|
'App\Models\WithdrawalAlipay',
|
|
'App\Models\WithdrawalBank',
|
|
];
|
|
|
|
public static $userTypeText = [
|
|
'App\Models\WithdrawalAlipay' => '支付宝',
|
|
'App\Models\WithdrawalBank' => '银行卡',
|
|
];
|
|
|
|
//状态 1·待审核 2 已拒绝 3 已通过 4 已打款
|
|
public static $state= [
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
];
|
|
|
|
public static $stateText = [
|
|
1 => '待审核',
|
|
2 => '已拒绝',
|
|
3 => '已通过',
|
|
4 => '已打款',
|
|
];
|
|
|
|
public static $stateTextSelect = [
|
|
1 => '待审核',
|
|
3 => '已通过',
|
|
4 => '已打款',
|
|
];
|
|
|
|
public static $adminType = [
|
|
'agent',
|
|
'supplier',
|
|
'guide',
|
|
'min'
|
|
];
|
|
|
|
public static $adminTypeText = [
|
|
'agent' => '代理商',
|
|
'supplier' =>'供应商',
|
|
'guide' =>'地接',
|
|
'min' => '最小提现金额'
|
|
];
|
|
}
|