佣金转入余额报错

This commit is contained in:
吴昊天 2023-03-20 10:37:22 +08:00
parent 69773f2e8d
commit 6a4693fdee
2 changed files with 5 additions and 5 deletions

View File

@ -235,28 +235,28 @@ class Common extends AuthController
if ($data['ordernum'] != 0) {
$value[] = [
'title' => "您有$data[ordernum]个待发货的订单",
'type' => 'bulb',
'type' => 1,
'url' => '/admin/order/list?status=1'
];
}
if ($data['inventory'] != 0) {
$value[] = [
'title' => "您有$data[inventory]个商品库存预警",
'type' => 'information',
'type' => 2,
'url' => '/admin/product/product_list?type=5',
];
}
if ($data['commentnum'] != 0) {
$value[] = [
'title' => "您有$data[commentnum]条评论待回复",
'type' => 'bulb',
'type' => 3,
'url' => '/admin/product/product_reply?is_reply=0'
];
}
if ($data['reflectnum'] != 0) {
$value[] = [
'title' => "您有$data[reflectnum]个提现申请待审核",
'type' => 'bulb',
'type' => 4,
'url' => '/admin/finance/user_extract/index?status=0',
];
}

View File

@ -53,7 +53,7 @@ class UserRechargeController
$uid = (int)$request->uid();
$re = $this->services->recharge($uid, $price, $recharId, $type, $from, true);
if ($re) {
$payType = $re['pay_type'];
$payType = $re['pay_type'] ?? '';
unset($re['pay_type']);
return app('json')->status($payType, 410125, $re);
}