记录日志测试

This commit is contained in:
2024-12-04 09:36:34 +08:00
parent b71b6fc73d
commit 92a381c90a

View File

@@ -118,7 +118,7 @@ class JsonResponseFormatter extends \yii\web\JsonResponseFormatter
self::$param['url'] = Yii::$app->request->getUrl();
self::$param['type'] = $response->statusCode == 200? 0: 1;
self::$param['platform_type'] = Yii::$app->store == 0? 0: 1;
self::$param['platform_id'] = Yii::$app->store;
self::$param['platform_id'] = Yii::$app->store?? 0;
$op = get_device_type();
self::$param['ip'] = $op['ip'];
self::$param['equipment'] = $op['platform'];