rabin 4 天之前
父节点
当前提交
fbc3079b85
共有 1 个文件被更改,包括 2 次插入1 次删除
  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']];