http 后台显示充值类型
This commit is contained in:
@@ -41,6 +41,7 @@ class Admin extends Controller
|
||||
foreach ($user_list as $infos) {
|
||||
if ($recharge['user_id'] == $infos['Id']) {
|
||||
$recharge['username'] = $infos['LoginCode'];
|
||||
$recharge['pay_type'] = HttpOrderEnum::$pay_type[$recharge['pay_type']];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,4 +57,10 @@ class Order
|
||||
];
|
||||
public static $success = 1;
|
||||
public static $fail = 0;
|
||||
|
||||
|
||||
public static $pay_type = [
|
||||
2 => '支付宝',
|
||||
3 => '微信',
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user