!66 日志记录优化

Merge pull request !66 from develop
This commit is contained in:
赵世界 2022-08-24 11:05:07 +00:00 committed by Gitee
commit 33f353b6e9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -152,6 +152,9 @@ abstract class BusinessClient
if ($size < 64000) {
$log->message = json_encode($res, 256);
}
if ('pdd.ktt.goods.incr.quantity' === $params['type']) {
$log->message .= json_encode($params, 256);
}
$log->save();
}