|
|
@@ -245,13 +245,13 @@ class WriteSportsController extends BaseController{
|
|
|
//提交事务
|
|
|
DB::commit();
|
|
|
//写请求数据 日志记录
|
|
|
- if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$obt,$getData['title'],Response::success());
|
|
|
+ if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$getData,$getData['title'],Response::success());
|
|
|
return Response::success();
|
|
|
} catch (\Exception $e) {
|
|
|
//回滚事务
|
|
|
DB::rollBack();
|
|
|
//写请求数据 日志记录
|
|
|
- if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$obt,$getData['title'],$e->getMessage());
|
|
|
+ if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$getData,$getData['title'],$e->getMessage());
|
|
|
return $e->getMessage();
|
|
|
}
|
|
|
}
|
|
|
@@ -466,13 +466,13 @@ class WriteSportsController extends BaseController{
|
|
|
//提交事务
|
|
|
DB::commit();
|
|
|
//写请求数据 日志记录
|
|
|
- if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$obt,$getData['title'],Response::success());
|
|
|
+ if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$getData,$getData['title'],Response::success());
|
|
|
return Response::success();
|
|
|
} catch (\Exception $e) {
|
|
|
//回滚事务
|
|
|
DB::rollBack();
|
|
|
//写请求数据 日志记录
|
|
|
- if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$obt,$getData['title'],$e->getMessage());
|
|
|
+ if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$getData,$getData['title'],$e->getMessage());
|
|
|
return $e->getMessage();
|
|
|
}
|
|
|
|
|
|
@@ -678,13 +678,13 @@ class WriteSportsController extends BaseController{
|
|
|
//提交事务
|
|
|
DB::commit();
|
|
|
//写请求数据 日志记录
|
|
|
- if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$obt,$getData['title'],Response::success());
|
|
|
+ if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$getData,$getData['title'],Response::success());
|
|
|
return Response::success();
|
|
|
} catch (\Exception $e) {
|
|
|
//回滚事务
|
|
|
DB::rollBack();
|
|
|
//写请求数据 日志记录
|
|
|
- if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$obt,$getData['title'],$e->getMessage());
|
|
|
+ if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$getData,$getData['title'],$e->getMessage());
|
|
|
return $e->getMessage();
|
|
|
}
|
|
|
|
|
|
@@ -805,13 +805,13 @@ class WriteSportsController extends BaseController{
|
|
|
//提交事务
|
|
|
DB::commit();
|
|
|
//写请求数据 日志记录
|
|
|
- if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$obt,$getData['title'],Response::success());
|
|
|
+ if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$getData,$getData['title'],Response::success());
|
|
|
return Response::success();
|
|
|
} catch (\Exception $e) {
|
|
|
//回滚事务
|
|
|
DB::rollBack();
|
|
|
//写请求数据 日志记录
|
|
|
- if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$obt,$getData['title'],$e->getMessage());
|
|
|
+ if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$getData,$getData['title'],$e->getMessage());
|
|
|
return $e->getMessage();
|
|
|
}
|
|
|
|
|
|
@@ -926,13 +926,13 @@ class WriteSportsController extends BaseController{
|
|
|
//提交事务
|
|
|
DB::commit();
|
|
|
//写请求数据 日志记录
|
|
|
- if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$obt,$getData['title'],Response::success());
|
|
|
+ if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$getData,$getData['title'],Response::success());
|
|
|
return Response::success();
|
|
|
} catch (\Exception $e) {
|
|
|
//回滚事务
|
|
|
DB::rollBack();
|
|
|
//写请求数据 日志记录
|
|
|
- if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$obt,$getData['title'],$e->getMessage());
|
|
|
+ if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$getData,$getData['title'],$e->getMessage());
|
|
|
return $e->getMessage();
|
|
|
}
|
|
|
|
|
|
@@ -1085,13 +1085,13 @@ class WriteSportsController extends BaseController{
|
|
|
//提交事务
|
|
|
DB::commit();
|
|
|
//写请求数据 日志记录
|
|
|
- if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$obt,$getData['title'],Response::success());
|
|
|
+ if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$getData,$getData['title'],Response::success());
|
|
|
return Response::success();
|
|
|
} catch (\Exception $e) {
|
|
|
//回滚事务
|
|
|
DB::rollBack();
|
|
|
//写请求数据 日志记录
|
|
|
- if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$obt,$getData['title'],$e->getMessage());
|
|
|
+ if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$getData,$getData['title'],$e->getMessage());
|
|
|
return $e->getMessage();
|
|
|
}
|
|
|
}
|
|
|
@@ -1236,13 +1236,13 @@ class WriteSportsController extends BaseController{
|
|
|
//提交事务
|
|
|
DB::commit();
|
|
|
//写请求数据 日志记录
|
|
|
- if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$obt,$getData['title'],Response::success());
|
|
|
+ if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$getData,$getData['title'],Response::success());
|
|
|
return Response::success();
|
|
|
} catch (\Exception $e) {
|
|
|
//回滚事务
|
|
|
DB::rollBack();
|
|
|
//写请求数据 日志记录
|
|
|
- if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$obt,$getData['title'],$e->getMessage());
|
|
|
+ if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$getData,$getData['title'],$e->getMessage());
|
|
|
return $e->getMessage();
|
|
|
}
|
|
|
}
|
|
|
@@ -1391,13 +1391,13 @@ class WriteSportsController extends BaseController{
|
|
|
//提交事务
|
|
|
DB::commit();
|
|
|
//写请求数据 日志记录
|
|
|
- if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$obt,$getData['title'],Response::success());
|
|
|
+ if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$getData,$getData['title'],Response::success());
|
|
|
return Response::success();
|
|
|
} catch (\Exception $e) {
|
|
|
//回滚事务
|
|
|
DB::rollBack();
|
|
|
//写请求数据 日志记录
|
|
|
- if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$obt,$getData['title'],$e->getMessage());
|
|
|
+ if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$getData,$getData['title'],$e->getMessage());
|
|
|
return $e->getMessage();
|
|
|
}
|
|
|
}
|
|
|
@@ -1458,13 +1458,13 @@ class WriteSportsController extends BaseController{
|
|
|
//提交事务
|
|
|
DB::commit();
|
|
|
//写请求数据 日志记录
|
|
|
- if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$obt,$getData['title'],Response::success());
|
|
|
+ if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$getData,$getData['title'],Response::success());
|
|
|
return Response::success();
|
|
|
} catch (\Exception $e) {
|
|
|
//回滚事务
|
|
|
DB::rollBack();
|
|
|
//写请求数据 日志记录
|
|
|
- if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$obt,$getData['title'],$e->getMessage());
|
|
|
+ if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$getData,$getData['title'],$e->getMessage());
|
|
|
return $e->getMessage();
|
|
|
}
|
|
|
}
|
|
|
@@ -1793,13 +1793,13 @@ class WriteSportsController extends BaseController{
|
|
|
//提交事务
|
|
|
DB::commit();
|
|
|
//写请求数据 日志记录
|
|
|
- if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$obt,$getData['title'],Response::success());
|
|
|
+ if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$getData,$getData['title'],Response::success());
|
|
|
return Response::success();
|
|
|
} catch (\Exception $e) {
|
|
|
//回滚事务
|
|
|
DB::rollBack();
|
|
|
//写请求数据 日志记录
|
|
|
- if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$obt,$getData['title'],$e->getMessage());
|
|
|
+ if($this->isRecord) commonFunction::SET_SPORTS_RECORD($game_code,$getData,$getData['title'],$e->getMessage());
|
|
|
return $e->getMessage();
|
|
|
}
|
|
|
}
|
|
|
@@ -2171,7 +2171,6 @@ class WriteSportsController extends BaseController{
|
|
|
* json转数组
|
|
|
*/
|
|
|
public function getAddData($data){
|
|
|
-
|
|
|
$data = json_decode($data,true);
|
|
|
|
|
|
return $data;
|