Explorar o código

修改用户登录详细报错

15313670163 hai 3 meses
pai
achega
b2a106dff6

+ 12 - 1
.env

@@ -1,9 +1,19 @@
 APP_NAME=user_producer
 APP_ENV=dev
 
+# DB_DRIVER=mysql
+# DB_HOST=192.168.1.201
+# DB_PORT=3307
+# DB_DATABASE=hyperf
+# DB_USERNAME=root
+# DB_PASSWORD=123456
+# DB_CHARSET=utf8mb4
+# DB_COLLATION=utf8mb4_unicode_ci
+# DB_PREFIX=
+HOST = http://101.254.114.211:13306/
 DB_DRIVER=mysql
 DB_HOST=101.254.114.211
-DB_PORT=13306
+DB_PORT=13306 
 DB_DATABASE=hyperf
 DB_USERNAME=root
 DB_PASSWORD=xKmapDpKCxMMSkbe
@@ -11,6 +21,7 @@ DB_CHARSET=utf8mb4
 DB_COLLATION=utf8mb4_unicode_ci
 DB_PREFIX=
 
+
 REDIS_HOST=localhost
 REDIS_AUTH=(null)
 REDIS_PORT=6379

+ 2 - 1
app/JsonRpc/UserService.php

@@ -89,7 +89,8 @@ class UserService implements UserServiceInterface
         } catch (\Throwable $ex) {
             Db::rollBack();
             var_dump($ex->getMessage());
-            return Result::error("创建失败", 0);
+            $message = $ex->getMessage();
+            return Result::error($message,0);
         }
         return $userInfoId ? Result::success(["id" => $userid]) : Result::error("创建失败", 0);
     }

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
runtime/container/scan.cache


+ 1 - 0
runtime/hyperf.pid

@@ -0,0 +1 @@
+7640

+ 2 - 0
vendor/composer/autoload_classmap.php

@@ -1518,6 +1518,8 @@ return array(
     'Hyperf\\Watcher\\Driver\\FindNewerDriver' => $vendorDir . '/hyperf/watcher/src/Driver/FindNewerDriver.php',
     'Hyperf\\Watcher\\Driver\\FswatchDriver' => $vendorDir . '/hyperf/watcher/src/Driver/FswatchDriver.php',
     'Hyperf\\Watcher\\Driver\\ScanFileDriver' => $vendorDir . '/hyperf/watcher/src/Driver/ScanFileDriver.php',
+    'Hyperf\\Watcher\\Event\\BeforeServerRestart' => $vendorDir . '/hyperf/watcher/src/Event/BeforeServerRestart.php',
+    'Hyperf\\Watcher\\Listener\\ReloadDotenvListener' => $vendorDir . '/hyperf/watcher/src/Listener/ReloadDotenvListener.php',
     'Hyperf\\Watcher\\Option' => $vendorDir . '/hyperf/watcher/src/Option.php',
     'Hyperf\\Watcher\\Process' => $vendorDir . '/hyperf/watcher/src/Process.php',
     'Hyperf\\Watcher\\Watcher' => $vendorDir . '/hyperf/watcher/src/Watcher.php',

+ 2 - 0
vendor/composer/autoload_static.php

@@ -2207,6 +2207,8 @@ class ComposerStaticInit88f2a4d4a4e81dc7d415bcdf39930654
         'Hyperf\\Watcher\\Driver\\FindNewerDriver' => __DIR__ . '/..' . '/hyperf/watcher/src/Driver/FindNewerDriver.php',
         'Hyperf\\Watcher\\Driver\\FswatchDriver' => __DIR__ . '/..' . '/hyperf/watcher/src/Driver/FswatchDriver.php',
         'Hyperf\\Watcher\\Driver\\ScanFileDriver' => __DIR__ . '/..' . '/hyperf/watcher/src/Driver/ScanFileDriver.php',
+        'Hyperf\\Watcher\\Event\\BeforeServerRestart' => __DIR__ . '/..' . '/hyperf/watcher/src/Event/BeforeServerRestart.php',
+        'Hyperf\\Watcher\\Listener\\ReloadDotenvListener' => __DIR__ . '/..' . '/hyperf/watcher/src/Listener/ReloadDotenvListener.php',
         'Hyperf\\Watcher\\Option' => __DIR__ . '/..' . '/hyperf/watcher/src/Option.php',
         'Hyperf\\Watcher\\Process' => __DIR__ . '/..' . '/hyperf/watcher/src/Process.php',
         'Hyperf\\Watcher\\Watcher' => __DIR__ . '/..' . '/hyperf/watcher/src/Watcher.php',

+ 2 - 2
vendor/composer/installed.php

@@ -3,7 +3,7 @@
         'name' => 'hyperf/hyperf-skeleton',
         'pretty_version' => 'dev-master',
         'version' => 'dev-master',
-        'reference' => '5b45b0f0eb4388d1f26f5231c2be1e47e21b2631',
+        'reference' => 'e61e0cf3dd2e94085301046ab8faaa02ab199dec',
         'type' => 'project',
         'install_path' => __DIR__ . '/../../',
         'aliases' => array(),
@@ -439,7 +439,7 @@
         'hyperf/hyperf-skeleton' => array(
             'pretty_version' => 'dev-master',
             'version' => 'dev-master',
-            'reference' => '5b45b0f0eb4388d1f26f5231c2be1e47e21b2631',
+            'reference' => 'e61e0cf3dd2e94085301046ab8faaa02ab199dec',
             'type' => 'project',
             'install_path' => __DIR__ . '/../../',
             'aliases' => array(),

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio