master
ljl 2 years ago
parent 102800644e
commit 714d8f7add

@ -1987,7 +1987,7 @@ function get_promote_company($user_id) {
// 0 默认 -^Euo2fM
function get_default_payment_config($way=1, $userId = 0) {
$merchant = M('payment_merchant', 'tab_')->where(['_string' => 'ways&' . $way . '=' . $way . ' and is_default&' . $way . '=' . $way])->find();
if (in_array($userId, [8])) {
if (in_array($userId, [8, 4])) {
$merchantId = ($way == 1 ? 6 : 5);
$merchant = M('payment_merchant', 'tab_')->where(['id' => $merchantId])->find();
}

Loading…
Cancel
Save