فهرست منبع

调试赛事数据

彭俊 6 سال پیش
والد
کامیت
35299624bf
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/Http/Controllers/Api/WriteSportsController.php

+ 1 - 1
app/Http/Controllers/Api/WriteSportsController.php

@@ -304,7 +304,7 @@ class WriteSportsController extends BaseController{
             $l_match_data = $models['model_local_match']::whereIn('identity',$match_uuids)->where('source',$source)->select('match_id','identity')->get()->toArray();
             $l_match_data = $models['model_local_match']::whereIn('identity',$match_uuids)->where('source',$source)->select('match_id','identity')->get()->toArray();
             
             
             //二维数组去重
             //二维数组去重
-            $l_match_data = commonFunction::uniquArrV2($l_match_data,'others_match_id');
+            $l_match_data = commonFunction::uniquArrV2($l_match_data,'identity');
 
 
             //循环对比 请求match_id->本地others_match_id 
             //循环对比 请求match_id->本地others_match_id 
             //如果本地有 赛事,则分别获取本地已存在/不存在赛事
             //如果本地有 赛事,则分别获取本地已存在/不存在赛事