rabin 4 days ago
parent
commit
fbc3079b85
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/place/source/app/Lib/Price.php

+ 2 - 1
src/place/source/app/Lib/Price.php

@@ -98,7 +98,8 @@ class Price
     public function getHave($info)
     {
         $result['status'] = 1;
-        if ($info['have_vip']) {
+        if ($info['have_vip'] && $info['have_vip'] != '[]') {
+            $info['have_vip'] = str_replace('a', '', $info['have_vip']);
             $result['status'] = 2;
             $result['list'] = [];
             $where['id'] = ['in', $info['have_vip']];