WIN-2308041133\Administrator 1 년 전
부모
커밋
54846b19e7
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      application/admin/model/WechatPlanRecord.php

+ 2 - 0
application/admin/model/WechatPlanRecord.php

@@ -64,6 +64,8 @@ class WechatPlanRecord extends Model
         $count = $model->where($xwhere)->count();
         $laveMonth = new LaveMonth();
         $list = $laveMonth->where('user_id', $data['uid'])->where('cid',$data['cid'])->where('order_name', $data['order_name'])->select();
+        $plan = new WechatPlan();
+        $data['image'] = $plan->where('plan_id', $data['plan_id'])->field('img')->find();
         return compact('count', 'data','list');
     }
 }