移动端修复:
$bill = UserBill::billDoesDataExist($userInfo['spread_uid'], 'now_money', 'brokerage', $brokeragePrice, $orderInfo['id']);
if ($bill) return true;
$bill = UserBill::billDoesDataExist($userInfo['spread_uid'], 'now_money', 'brokerage', $brokeragePrice, $orderInfo['id']);
if ($bill) return true;
$bill = UserBill::billDoesDataExist($userInfo['spread_uid'], 'now_money', 'brokerage', $brokeragePrice, $orderInfo['id']);
if ($bill) return true;
$bill = UserBill::billDoesDataExist($userInfoTwo['spread_uid'], 'now_money', 'brokerage', $brokeragePrice, $orderInfo['id']);
if ($bill) return true;
$bill = UserBill::billDoesDataExist($userInfo['spread_uid'], 'now_money', 'brokerage', $brokeragePrice, $orderInfo['id']);
if ($bill) return true;
$bill = UserBill::billDoesDataExist($userInfoTwo['spread_uid'], 'now_money', 'brokerage', $brokeragePrice, $orderInfo['id']);
if ($bill) return true;
public static function billDoesDataExist($uid, $category, $type, $number, $link_id, $pm = 1)
{
return self::be(['uid' => $uid, 'category' => $category, 'pm' => $pm, 'type' => $type, 'number' => $number, 'link_id' => $link_id, 'status' => 1]);
}
pc端修复:
$bill = UserBill::billDoesDataExist($userInfo['spread_uid'], 'now_money', 'brokerage', $brokeragePrice, $orderInfo['id']);
if ($bill) return true;
$bill = UserBill::billDoesDataExist($userInfoTwo['spread_uid'], 'now_money', 'brokerage', $brokeragePrice, $orderInfo['id']);
if ($bill) return true;
$bill = UserBill::billDoesDataExist($userInfo['spread_uid'], 'now_money', 'brokerage', $brokeragePrice, $orderInfo['id']);
if ($bill) return true;
$bill = UserBill::billDoesDataExist($userInfoTwo['spread_uid'], 'now_money', 'brokerage', $brokeragePrice, $orderInfo['id']);
if ($bill) return true;
public static function billDoesDataExist($uid, $category, $type, $number, $link_id, $pm = 1)
{
return self::be(['uid' => $uid, 'category' => $category, 'pm' => $pm, 'type' => $type, 'number' => $number, 'link_id' => $link_id, 'status' => 1]);
}
知识付费 v2.1.6版本可以直接覆盖
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}}
作者 管理员 企业
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回复 {{itemc.comment_user_info.nickname}}
{{itemf.name}}