dyjh 6 yıl önce
ebeveyn
işleme
18c718a8a6

+ 1 - 1
app/Http/Controllers/Api/V1/AlbumController.php

xqd
@@ -2459,7 +2459,7 @@ class AlbumController extends Controller
         if($userAuth->is_dealer!=1) return $this->error(ErrorCode::CLIENT_WRONG_PARAMS, '该用户不是经销商!', $validator->messages());
         $user_agent = AlbumAgentModel::where('user_id',$userAuth->id)->first();
         if ($data['type'] == 1) {    //尺寸统计
-            $record = AlbumWatchRecord::where([['agent_id',$user_agent->id],['detail','lick','%\u5c3a\u5bf8\u56fe%'],['action',5],['store_id',$data['store_id']]])->get();
+            $record = AlbumWatchRecord::where([['agent_id',$user_agent->id],['detail','like','%\u5c3a\u5bf8\u56fe%'],['action',5],['store_id',$data['store_id']]])->get();
             dd($record);
             foreach ($record as $key=>$val){
                 $user = AlbumUserModel::where([['open_id',$val['open_id']],['store_id',$data['store_id']]])->first();