|
|
@@ -656,8 +656,12 @@ class WriteSportsController extends BaseController{
|
|
|
//更新赛事 tag 值
|
|
|
//如果未获取到本地赛事id,则返回异常
|
|
|
if(empty($match_id)) throw new \Exception(Response::generate($gameName.'赛事-match_id:'.$s_match_id.';',Response::L_MATCH_ID_ERR)) ;
|
|
|
+ DB::enableQueryLog();
|
|
|
+
|
|
|
$upMatch = $models['model_match']::where(['id'=>$match_id])
|
|
|
->update(['tag'=>$tag,'utime'=>date('Y-m-d H:i:s')]);
|
|
|
+ $ss = DB::getQueryLog();
|
|
|
+ return Response::success($ss);
|
|
|
if($upMatch < 1) throw new \Exception(Response::generate($gameName.'赛事-match_id:'.$s_match_id.';',Response::UPMATCHTAG_ERROR)) ;
|
|
|
|
|
|
//获取 赔率数据
|