Sfoglia il codice sorgente

wesmiler 报恩寺项目提交

wesmiler 4 anni fa
parent
commit
02e0d46a4a
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      app/Services/EnshrineService.php

+ 2 - 2
app/Services/EnshrineService.php

@@ -688,9 +688,9 @@ class EnshrineService extends BaseService
         $page = isset($params['pageSize']) ? intval($params['pageSize']) : PAGE;
         $pageSize = isset($params['pageSize']) ? intval($params['pageSize']) : PERPAGE;
         $type = isset($params['type']) ? intval($params['type']) : 0;
-        $where = ['a.type' => 3, 'a.mark' => 1,'a.status'=> 2, 'a.user_id' => $userId];
+        $where = ['a.mark' => 1,'a.status'=> 2, 'a.user_id' => $userId];
         if($type){
-            $where['type'] = $type;
+            $where['a.type'] = $type;
         }
         $dataList = $this->model::from('enshrine_orders as a')
             ->leftJoin('member as m', 'm.id', '=', 'a.user_id')