Explorar el Código

feat(api): 记录用户实名信息日志

- 在检查金额前添加用户实名信息的日志记录
- 使用Log::info记录用户数据以便调试和追踪
shichen hace 8 meses
padre
commit
27bf31b738
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/traits/GzcApiRequest.php

+ 1 - 0
app/traits/GzcApiRequest.php

@@ -56,6 +56,7 @@ trait GzcApiRequest
56 56
      */
57 57
     public static function checkAmount($user)
58 58
     {
59
+        Log::info('用户实名信息:' . json_encode($user));
59 60
         $cardType = $user['card_type'];
60 61
         if ($user['card_type'] == 2) {
61 62
             $cardType = 10;