WIN-2308041133\Administrator há 6 meses atrás
pai
commit
54846b19e7
1 ficheiros alterados com 2 adições e 0 exclusões
  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');
     }
 }