http 后台显示充值类型

This commit is contained in:
“wanyongkang”
2024-01-02 16:39:25 +08:00
parent a56bc63aa8
commit e639e0466c
2 changed files with 7 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ class Admin extends Controller
foreach ($user_list as $infos) { foreach ($user_list as $infos) {
if ($recharge['user_id'] == $infos['Id']) { if ($recharge['user_id'] == $infos['Id']) {
$recharge['username'] = $infos['LoginCode']; $recharge['username'] = $infos['LoginCode'];
$recharge['pay_type'] = HttpOrderEnum::$pay_type[$recharge['pay_type']];
} }
} }
} }

View File

@@ -57,4 +57,10 @@ class Order
]; ];
public static $success = 1; public static $success = 1;
public static $fail = 0; public static $fail = 0;
public static $pay_type = [
2 => '支付宝',
3 => '微信',
];
} }