|
@@ -59,10 +59,10 @@ class BehaviorRecordRepositories
|
|
*/
|
|
*/
|
|
public function addRecord($info)
|
|
public function addRecord($info)
|
|
{
|
|
{
|
|
- Log::debug('add-record-request:' . json_encode($info));
|
|
|
|
|
|
+ Log::debug('记录账本-请求参数:' . json_encode($info));
|
|
$behavior = $info['behavior_flag'];
|
|
$behavior = $info['behavior_flag'];
|
|
$behaviorTable = $this->getBehaviorTable($behavior);
|
|
$behaviorTable = $this->getBehaviorTable($behavior);
|
|
- Log::debug('add-record-behavior-table:' . $behaviorTable);
|
|
|
|
|
|
+ Log::debug('记录账本-table:' . $behaviorTable);
|
|
if ($behaviorTable) {
|
|
if ($behaviorTable) {
|
|
if ($behaviorTable == 'registered_accounts_record') {
|
|
if ($behaviorTable == 'registered_accounts_record') {
|
|
return $this->addRegisterRecord($info);
|
|
return $this->addRegisterRecord($info);
|
|
@@ -111,7 +111,7 @@ class BehaviorRecordRepositories
|
|
DB::commit();
|
|
DB::commit();
|
|
return true;
|
|
return true;
|
|
} catch (QueryException $exception) {
|
|
} catch (QueryException $exception) {
|
|
- Log::debug('addRegisterRecord-exception:'.$exception->getMessage());
|
|
|
|
|
|
+ Log::debug('记录账本-exception:'.$exception->getMessage());
|
|
DB::rollBack();
|
|
DB::rollBack();
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|