mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 14:01:07 +00:00
commit
a52078d29f
@ -1483,7 +1483,7 @@ class StoreProductServices extends BaseServices
|
||||
*/
|
||||
public function setLevelPrice($price, int $uid, $userInfo, $vipStatus, $discount = 0, $vipPrice = 0.00, $is_vip = 0, $is_show = false)
|
||||
{
|
||||
if (!(float)$price) return $price;
|
||||
if (!(float)$price) return [(float)$price, (float)$price, 'level'];
|
||||
if (!$vipStatus) $is_vip = 0;
|
||||
//已登录
|
||||
if ($uid) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user