浏览代码

更新:fix bug

shizhongqi 4 月之前
父节点
当前提交
dc1aef5303
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      biz-hd/custom/classes/CustomClass.php

+ 1 - 1
biz-hd/custom/classes/CustomClass.php

@@ -892,7 +892,7 @@ class CustomClass extends BaseClass
     {
         $shopId = $data['shopId'];
         $mainId = $data['mainId'];
-        $customs = self::getAllByCondition(['shopId' => $shopId], null, 'id, userId, buyAmount, growth, member, memberName', null, true);
+        $customs = self::getAllByCondition(['shopId' => $shopId], null, 'id, name, hdId, userId, buyAmount, growth, member, memberName', null, true);
         $levelDatas = MemberLevelClass::getAllByCondition(['mainId' => $mainId], 'amount DESC', 'id, name, level, amount');
         if (!empty($customs) && !empty($levelDatas)) {
             foreach ($customs as $c) {